The FileOpen() function works like the File/Open menu. However, it will not pop up a file selection dialog. It will create a file/window of the type you specify with the file name. If the extension is associated with a window like .gscr, or .log the window will be opened. If the extension is unknown no operation is not performed.