Implemented read/write for ramdisk