correct inputfile