Java files and input file.