code: def process_file(file_path, doc_items):
      """Process a Python file to update docstrings."""
      with open(file_path, "r") as file:
          content = file.read()
      file_name = os.path.basename(file_path).rsplit(".", 1)[0]
  
      module = ast.parse(content)
  
      func_visitor = FunctionVisitor()
      func_visitor.visit(module)
  
      class_visitor = ClassVisitor()
      class_visitor.visit(module)
  
      for func in func_visitor.funcs:
          if need_docstring(func, DOC_FUNC, DOC_RETURN):
              func_name = f"{file_name}.{func.name}"
              content = process_func(
                  func, func_name, doc_items[func_name], content
              )
  
      for cls_name, funcs in class_visitor.class_methods.items():
          for func in funcs:
              if need_docstring(func, DOC_FUNC, DOC_RETURN):
                  func_name = f"{file_name}.{cls_name}.{func.name}"
                  content = process_func(
                      func, func_name, doc_items[func_name], content
                  )
  
      for cls in class_visitor.classes:
          if need_docstring(cls, DOC_ATTR):
              cls_name = f"{file_name}.{cls.name}"
              content = process_class(
                  cls, cls_name, doc_items[cls_name], content
              )
  
      file_dir = os.path.dirname(file_path)
      with open(
          os.path.join(file_dir, f"{file_name}_updated.py"), "w"
      ) as file:
          file.write(content)
  
imports: import ast
  import json
  import re
  import argparse
  import textwrap
  import os
  from collections import defaultdict
label_desc: Use image node_id 11 for calling a global function with example usage: process_file(file_path, doc_items) without return types