replace use of MissingSourceFile with LoadError