Throw an exception when the data file could not be loaded