code: def filehash(path):
      """Make an MD5 hash of a file, ignoring any differences in line
      ending characters."""
      warn(
          "filehash() is deprecated since IPython 4.0",
          DeprecationWarning,
          stacklevel=2,
      )
      with open(path, "rU") as f:
          return md5(py3compat.str_to_bytes(f.read())).hexdigest()
  
imports: import os
  import sys
  import errno
  import shutil
  import random
  import glob
  from warnings import warn
  from hashlib import md5
  from IPython.utils.process import system
  from IPython.utils import py3compat
  from IPython.utils.decorators import undoc
label_desc: Use image node_id 20 for calling a global function with example usage: filehash(path) and returns: md5