'Called when the instance is about to be destroyed.'

def __del__(self):

    self._reset_file()
    if os.path.exists(self.backup_path):
        os.remove(self.backup_path)
    if os.path.exists(self.local_path):
        os.remove(self.local_path)
