Added code to generate output file from runClassifiers