code: def cleanup_all_temporary_files(self):
          # type: (Descriptor) -> None
          
          # delete local file
          try:
              self.final_path.unlink()
          except OSError:
              pass
          # iterate unchecked chunks and delete
          for key in self._unchecked_chunks:
              ucc = self._unchecked_chunks[key]['ucc']
              if ucc.temp:
                  try:
                      ucc.file_path.unlink()
                  except OSError:
                      pass
docs: Cleanup all temporary files in case of an exception or interrupt.
          This function is not thread-safe.
          :param Descriptor self: this