The read/write file selected by the user.
For security purposes, this method creates a new file with the selected name and opens it with read/write permissions. This can cause unintentional loss of data if you select an existing file to save to. To save data to an existing file while retaining existing data, use the System.IO.File class to open the file using the file name returned in the FileDialog.FileName property.