code: def listFilesWithExtension(path: str, extension: str) -> List[str]:
      """
      Returns a list of files in the given path with the given extension
      The files are returned with their full path
      """
      files = glob.glob(os.path.join(path, f"*.{extension}"))
      return files
  
imports: import argparse
  import difflib
  import glob
  import os
  import sys
  from typing import Dict, List, Optional, Tuple
  import yaml
label_desc: Use image node_id 1 for calling a global function with example usage: listFilesWithExtension(path, extension) and returns: files