fix infile.