input file now given as argument to program