long start = System.currentTimeMillis();
float elapsed;
System.out.println("File processed: " + pdf.getPath());
ContentExtractor extractor = null;
try {
<BUG>extractor = createContentExtractor(config, timeoutSeconds);
InputStream in = new FileInputStream(pdf);</BUG>
extractor.setPDF(in);
if (outputs.containsKey("images")) {
List<BxImage> images = extractor.getImages(outputs.get("images").getPath());

long start = System.currentTimeMillis();
float elapsed;
System.out.println("File processed: " + pdf.getPath());
ContentExtractor extractor = null;
try {
extractor = createContentExtractor(timeoutSeconds);
InputStream in = new FileInputStream(pdf);
extractor.setPDF(in);
if (outputs.containsKey("images")) {
List<BxImage> images = extractor.getImages(outputs.get("images").getPath());
