public Reader getReader(int testNumber) throws OutputGeneratingException {
Reader reader = null;
try {
reader = new FileReader(program.problem.getPathToTests() + "/" + program.problem.out[testNumber]);
} catch (FileNotFoundException e) {
throw new OutputGeneratingException("Test output not found: " + e);
}
return reader;
}