Add new function to FileHandle

collectCounterValues,readPage,writePage,appendPage changed according to
the new private variable of class FileHandle.