no error checking for input file