Are you 100% sure there's no classes deriving from CFile (I don't think there is, but it seems as if it's a gamble)