code: def _calc_md5(path):
      hasher = hashlib.md5()
      with open(path, "rb") as f:
          while True:
              block = f.read(65536)
              if not block:
                  break
              hasher.update(block)
      return hasher.hexdigest()
  
imports: import hashlib
  import logging
  import numpy
  import os
  import pandas
  import tarfile
  import tempfile
  import six
  import shutil
  from .core import PATH_TYPES, fspath
label_desc: Use image node_id 2 for calling a global function with example usage: _calc_md5(path) and returns: hasher