Catch an error with an invalid data file