Let the caller report errors when loading files
Improved an error message