Handle metadata for a single file