private static void setOutputFile(String str) throws Exception {
   settings.setOutputFile(new File(str));
   outputFileSet = true;
 }
 private static void setAccuracyFile(String str) {
   settings.setAccuracyFile(new File(str));
 }
 private static void addPredictionFile(String str) throws Exception {
   File f = new File(str);
   if (!f.exists()) throw new Exception("File " + str + " not found");
   settings.addPredictionFile(f);
   predictionFileSet = true;
 }