Failure to load a file can now be called by passing a function.