subclass TMemFile