code: def iter_tree(jottapath, JFS):
      
      filedirlist = JFS.getObject('%s?mode=list' % jottapath)
      log.debug("got tree: %s", filedirlist)
      if not isinstance(filedirlist, JFSFileDirList):
          yield ( '', tuple(), tuple() )
      for path in filedirlist.tree:
          yield path
docs: Get a tree of of files and folders. use as an iterator, you get something like os.walk