HeapFile read method implemented.