code: def recurse(path: Path):
      files = []
      if path.is_file():
          files.append(path)
          return files
  
      for f in path.iterdir():
          files += recurse(f)
  
      return files
  
file_path: annotated_deep_learning_paper_implementations/utils/diagrams.py
imports: import shutil
  from pathlib import Path
  from typing import List
  from xml.dom import minidom
  from labml import monit
label_desc: Use image node_id 8 for calling a global function with example usage: recurse(path) and returns: files, files