Handle bad input file