Save a string into a file.
The string to be saved
Path to the file
The variable where to store the result of the operation
Save a string into a file.