List<File> inputFiles = getFiles(inputFolder, inputRecursive);
for (File file : inputFiles) {
processFile(file, ae, cas);
}
ae.batchProcessComplete(new ProcessTrace_impl());
ae.collectionProcessComplete(new ProcessTrace_impl());
cas.release();
ae.destroy();
}