public static void benchmarkENTS(File resultDir, String outputName) {
		System.out.println("Benchmark ENTS, " + outputName);

		HashMap<String, String> classifications = loadClassifications();	
		TreeSet<Hit> hits = new TreeSet<Hit>();
		
		Workbook workbook = null;
		WritableWorkbook temp = null;
		try {
			File spreadsheet = new File("algorithm_evaluation", "empty.xls");
			workbook = Workbook.getWorkbook(spreadsheet);
			temp = Workbook.createWorkbook(new File("algorithm_evaluation", outputName+"_ents.xls"), workbook);
		} catch(Exception e) {
			e.printStackTrace();
		}
		
		File[] folders = resultDir.listFiles();
		int paramSetID = 0;
		for(File folder : folders) {
			System.out.println("Working on " + (paramSetID+1) + "/" + folders.length);
			
			try {				
				File[] resultFiles = folder.listFiles();
				
				for(File file : resultFiles) {
					if(file.isDirectory()) continue;
					
					String query = file.getName().replace(".txt", "");
					
					File revised = new File(file.getPath().replace(".txt", "$$$.txt"));
					
					BufferedReader copier = new BufferedReader(new FileReader(file));
					PrintStream output = new PrintStream(new FileOutputStream(revised));
					while(copier.ready()) {
						String ln = copier.readLine();
						String[] info = ln.split("\t");
						if(!PROT_IGNORE.contains(query + "\t" + info[0])) {
							output.println(ln);
						}
					}
					copier.close();
					output.close();

					Process ents = Runtime.getRuntime().exec("perl protENTS.pl D:\\dir.scop_PDP.txt " + revised.getPath() + " -1");
					BufferedReader reader = new BufferedReader(new InputStreamReader(ents.getInputStream()));
					String ln;
					while((ln=reader.readLine()) != null) {
						String[] res = ln.split("\t");
						String fold = res[0];
						double z = Double.parseDouble(res[1]);
						hits.add(new Hit(query, fold, z));
					}
					reader.close();
					
					revised.delete();
				}
			} catch (IOException e) {
				e.printStackTrace();
			}
			
			System.out.println("Hits: " + hits.size());
			
			makeSpreadsheet(folder, temp, paramSetID, classifications, hits);
			paramSetID++;
		}
		
		try {
			temp.write();
			temp.close();
			workbook.close();
		}
		catch(Exception e) {
			e.printStackTrace();
		}
		System.out.println();
	}