def METHOD_NAME(
    self, tempfile: str, destination_path: str
) -> None:
    if self.args.check:
        self._run_diff(destination_path, source_file=tempfile)
        os.unlink(tempfile)
    elif self.args.stdout:
        with open(tempfile) as tf:
            print(tf.read())
        os.unlink(tempfile)
    else:
        self.write_status(f"Writing {destination_path}...")
        shutil.move(tempfile, destination_path)
        self.write_status("done\n")