directory creation methods added to CCommon.h; Made methods in CFileIO static