public override void Save(string value, bool closeBrowserWindow = true) { if (string.IsNullOrEmpty(value)) { _fileChooserMessage.SelectedFiles = null; } else { var scrubbedValue = JSONUtils.ScrubJSON(value).Replace(@"\\", @"\"); var result = new Dev2JsonSerializer().Deserialize <FileChooserResult>(scrubbedValue); _fileChooserMessage.SelectedFiles = result.FilePaths; } if (closeBrowserWindow) { Close(); } }