@@ -0,0 +1,655 @@
+package com.mattbachmann.nlpexperiments.apps;%0A%0Aimport com.mattbachmann.nlpexperiments.extraction.ExtractionException;%0Aimport com.mattbachmann.nlpexperiments.extraction.TextExtractor;%0A%0Aimport java.io.File;%0A%0Apublic class ExtractFile %7B%0A    public static void main(String%5B%5D args) %7B%0A        if(args.length != 1) %7B%0A            System.out.println(%22I only take one arg, which is the file to extract text from%22);%0A            return;%0A        %7D%0A%0A        try %7B%0A            System.out.println(TextExtractor.extractText(new File(args%5B0%5D)));%0A        %7D catch (ExtractionException e) %7B%0A            System.out.println(%22Failed to extract text from file%22);%0A        %7D%0A    %7D%0A%7D%0A

Add utility to print the extracted text of a file