Add BTree read and print functions.