adds a metadata file