Bugfix: walk over rootfiles with depth larger than one