Implement HeapFile