bad file exception