code: def get_digest(filename):
      """Compute the MD5 hash for a given file."""
      h = hashlib.md5()
      with open(filename, "rb") as f:
          data = f.read(1 * MB)
          while data:
              h.update(data)
              data = f.read(1 * MB)
          return h.hexdigest()
  
imports: import functools
  import hashlib
  import os.path
  import re
  import sys
  from pathlib import Path
  import pkg_resources
  import sacred.optional
  from sacred import SETTINGS
  from sacred.utils import iter_prefixes
label_desc: Use image node_id 2 for calling a global function with example usage: get_digest(filename) and returns: h