You can use the mV->GetFile(), ReleaseFile() etc functions. There are ANSI and Unicode variants.