def METHOD_NAME(self, path: str) -> None:
    """Write the metadata to the specified file."""
    data = self.to_dict()
    display.info('>>> Metadata: %s\n%s' % (path, data), verbosity=3)
    write_json_file(path, data)