code: def hash(self):
          
          with open(self.filename, "rb") as fp:
              for content in iter(lambda: fp.read(io.DEFAULT_BUFFER_SIZE), b''):
                  self._md5_update(content)
                  self._sha2_update(content)
                  self._blake_update(content)
docs: Hash the file contents.