Fix input file