private bool CopyFile(string file, DmFile model) { FileToSave = model; try { return(StorageManager.CopyFile(file, model.RelativePath + "\\" + model.FileName)); } finally { FileToSave = null; } }