File* OpenFile(const char * pfilename);
OpenFile opens a file using the specified callback.
A File pointer to the open file of the StateBag.