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