Crawler.logger.info("Completed extraction for: " + entry);
RemoteFile file = new RemoteFile("file://" + tmpFile.getAbsolutePath());
ICSVFetcherResult callback = new ElasticIndexer(client, file.type, file.id + "-" + id);
IFormatReader fileReader = FileReader.read(file, callback);
if(fileReader != null) {
fileReader.readFromFile(tmpFile.getPath());
}