class Files {

    public static Path createFile(final Path path,
                                  final FileAttribute<?>... attrs)
            throws IllegalArgumentException, UnsupportedOperationException,
            FileAlreadyExistsException, IOException, SecurityException {
        checkNotNull("path",
                     path);

        try {
            newByteChannel(path,
                           CREATE_NEW_FILE_OPTIONS,
                           attrs).close();
        } catch (java.io.IOException e) {
            throw new IOException(e);
        }

        return path;
    }

    private  Files();

}