Add new function to save plain text version of objects to a text file.
Save the $conn object to a file other than the main log file.