code: def get_file_md5sum(fname):
      checksum = new_hash()
      inf = open(fname)
      try:
          contents = inf.read()
      finally:
          inf.close()
      update_checksum(checksum, contents)
      return checksum.hexdigest()
  
imports: import re
  import os
  import sys
  from dataclasses import dataclass
  from typing import List, Optional, Tuple
  import pyopencl._cl
  import logging
  import hashlib
label_desc: Use image node_id 4 for calling a global function with example usage: get_file_md5sum(fname) and returns: checksum