code: def set_hash_key(self, file):
          
          filehasher = hashlib.md5()
          while True:
              data = file.read(8192)
              if not data:
                  break
              filehasher.update(data)
          file.seek(0)
          self.hash_key = filehasher.hexdigest()
docs: Calculate and store hash key for file.