adding java file and input file