remove unecessary file and add tree-dump function