Fixed how some file exceptions are handled