Improved error messages when loading a content data file