private void process(List<Template> templates,File reportFile) throws Exception {
progress("processing report ("+(processCount+1)+") "+reportFile.getName()+" ... ");
// read in the report, do first level proce
String text = TextTools.getText(new FileInputStream(reportFile));
TemplateDocument doc = new TemplateDocument();
doc.setTitle(reportFile.getName());
doc.setLocation(reportFile.getAbsolutePath());
doc.setText(text);
doc.addTemplates(templates);
doc.setDocumentType(DocumentProcessor.suggestDocumentType(text));
//doc.getFilters().addAll(DocumentFilter.getDeIDFilters());
// do information extraction
process(doc);