createlogtxt Creates a file with the given file name and data. Params fileName: The name of the file data: The data to be written to the file