FileWrite
If you specify a file path, writes the entire content to the specified file. If you specify a file object, writes text or binary data to the file object.
FileWrite( file, data [, charset ] )
Returns: void
Examples
filewrite("filepath","fileContent to be write");