code: def get_pytorch_profiler_file_extension(
      path: pathlib.Path,
  ) -> Optional[str]:
      for ext in pytorch_profiler_file_extensions:
          if path.match(f"*{ext}"):
              return ext
      return None
  
file_path: determined/harness/determined/tensorboard/util.py
imports: import logging
  import pathlib
  import re
  from typing import List, Optional
label_desc: Use image node_id 4 for calling a global function with example usage: get_pytorch_profiler_file_extension(path) and returns: None, ext