Add error object for failure to load file