Можно просто ```File file = new File("input.txt");``` =)