Handle bad file condition