Issue #2569, Cleaning up CFile

This is my attempt at cleaning up the purely virtual functions in CFile. I also looked CStreamingFile, but it looks clean.
How can I test that the code I have written is working fine ? Do I need to write any tests for this ?
Issue #2569