def METHOD_NAME(self):
    if self.is_compressed():
        uncompressed_core_file = self.core_file_name.replace(".gz", "")
        with gzip.open(self.core_file_name, 'rb') as f_in:
            with open(uncompressed_core_file, 'wb') as f_out:
                shutil.copyfileobj(f_in, f_out)
        self.uncompressed_core_file = uncompressed_core_file
        os.remove(self.core_file_name)