Traverses tree to add assets