code: def process_doc_files(*files, add_new_line=True):
      """
      Applies doc styling or checks everything is correct in a list of files.
  
      Args:
          files (several `str` or `os.PathLike`): The files to treat.
              Whether to restyle file or just check if they should be restyled.
  
      Returns:
          List[`str`]: The list of files changed or that should be restyled.
      """
      for file in files:
          # Treat folders
          if os.path.isdir(file):
              files = [os.path.join(file, f) for f in os.listdir(file)]
              files = [
                  f
                  for f in files
                  if os.path.isdir(f)
                  or f.endswith(".mdx")
                  or f.endswith(".py")
              ]
              process_doc_files(*files, add_new_line=add_new_line)
          else:
              try:
                  process_doc_file(file, add_new_line=add_new_line)
              except Exception:
                  print(f"There is a problem in {file}.")
                  raise
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/utils/prepare_for_doc_test.py
imports: import argparse
  import os
label_desc: Use image node_id 5 for calling a global function with example usage: process_doc_files() without return types