added error handling for a file not being found