Translations:WriteToFile/5/en
Saves the contents of the Text parameter to a file named FileName and encoding according to the parameter Encoding. If the parameter is Unique nonzero, the file name may be changed to be unique. The file name used is stored in the output FileName. The parameter MakePath can enable automatic path creation if it does not exist. Mode Mode determines whether the new text overwrites the original contents of the file or is appended to the end.