MakeResourceLoader.loadFromPath throw if a file read errors