Called just before the editor is loaded from a file, after calling can-load-file? to verify that the load is allowed. See also after-load-file.
The filename argument is the name the file will be loaded from. See load-file for information about format.