docs: def key(base):
      """ get a list of all *leaf* directories as strings """
      for root, dirs, files in os.walk(base, topdown=False):
          for file in files:
              yield os.path.join(root, file)