code: def hashfile(name: str) -> str:
          
          hasher = hashlib.sha512()
          with open(name, 'rb') as openfile:
              for chunk in iter(lambda: openfile.read(4096), b''):
                  hasher.update(chunk)
          return hasher.hexdigest()
docs: Gets a hash of a file using block parsing
  
          http://stackoverflow.com/questions/3431825/generating-a-md5-checksum-of-a-file
          Using SHA512 for long-term support (hehehehe)