Add a SetFile method to Metadata.