Patched static loading of files.