input: Write a function to generate the MD5 checksum for a file.
  assert md5sum(open("example.txt", "rb")) == "098f6bcd4621d373cade4e832627b4f6"  # Assuming 'example.txt' contains "test"
  assert md5sum(open("another_example.txt", "rb")) == "5eb63bbbe01eeed093cb22bb8f5acdc3"  # Assuming 'another_example.txt' contains "hello world"
output: def md5sum(file):
      import hashlib
  
      md5 = hashlib.md5()
      while chunk := file.read(8192):
          md5.update(chunk)
      return md5.hexdigest()