Directory tree traversal tool in Ruby inspired by python os.walk