def collect_child(child):
   newPath = getPath(parent) + '/' + Bookmark.getTitle(child)
   child_folder = {
     'depth': getDepth(parent) + 1,
     'path': newPath
   }
   children = collect_list(child_folder, child)
   outlist.extend(children)