code: def _get_file_paths(cur):
      
      out = []
      if isinstance(cur, (list, tuple)):
          for x in cur:
              new = _get_file_paths(x)
              if new:
                  out.extend(new)
      elif isinstance(cur, dict):
          if "class" in cur:
              out.append(cur["path"])
          else:
              for k, v in cur.items():
                  new = _get_file_paths(v)
                  if new:
                      out.extend(new)
      return out
docs: Retrieve a list of file paths, recursively traversing the