Bool OnLoadFile (char *filename, int format)
This method is called just before the buffer is loaded from a file. Override it for your own use. If the return value is FALSE, then the file is not loaded.