Reading and writing of IndexTrees is done.