Fixed the error message when a file cannot be found