code: def getFileVec(path: str) -> List[Tuple[str, str]]:
      """
      Returns a list of tuples (extension, file) for the given path (note: the path includes the hash)
      The returned list must have extensions (json, ttir, ttgir)
      in this particular order, unless a file with a certain extension does not exist
      """
      vec = []
      for ext in ["json", "ttir", "ttgir"]:
          file = getFileWithExtension(path, ext)
          if file is not None:
              vec.append((ext, file))
      return vec
  
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 6 for calling a global function with example usage: getFileVec(path) and returns: vec