Write
Options for opening a file for writing (or reading and writing).
struct WriteYou can use the following methods to create commonly used sets of options:
newFile(replaceExisting:permissions:)to create a new file, optionally replacing one which already exists.modifyFile(createIfNecessary:permissions:)to modify an existing file, optionally creating it if it doesn’t exist.