Просто ```new File("input.txt")``` :-)