Read/Write file in MemoryPool