File* OpenFileEx(const char * pfilename, Log * plog);
OpenFileEx opens a file using the specified callback with a customizable log.
A File pointer to the open file of the StateBag.