Added ability to search within a tree and print out different trafic