Implemented parts of HeapFile