Modify treefiles(for generalization). Add a fuction for analysis att distribution.