Generates metadata file path