Context manager to temporarily update the filename of a datamodel so that it can be saved with that new file name without changing the current model’s filename
datamodel (DataModel) – The datamodel instance to update.
filename (str) – The new filename to use.