Bool SaveFile (char *filename = NULL)
Saves the buffer to the specified file. If filename is NULL, the user is prompted for a filename. Returns TRUE when the file is successfully saved.