keep error infile as infile, not as infile_error