Added option to list the tree recursively