code: def read_file(self, changeset_file):
          
          if isfile(changeset_file):
              self.filename = changeset_file
          else:
              self.path = mkdtemp()
              self.filename = join(self.path, basename(changeset_file))
              download(changeset_file, self.path)
  
          self.xml = ET.fromstring(gzip.open(self.filename).read())
  
          # delete folder created to download the file
          if not isfile(changeset_file):
              rmtree(self.path)
docs: Download the replication changeset file or read it directly from the
          filesystem (to test purposes).