Write Log File

This is a short piece of code that creates a text file on the server with information that you designate. 

cpm_wDir = path to save file to.
cpm_fName = filename with extension
cpm_Data =  data to store in file.