Customized version of treeio