private Map<String, String> offsetKey(String filename) {
        return Collections.singletonMap(FILENAME_FIELD, filename);
    }
FileStreamSourceTask reads from stdin or a file.
connect/file/src/main/java/org/apache/kafka/connect/file/FileStreamSourceTask.java