Remove the printMSG function and everything associated with it. Nothing in this utility function needs to be logged to a file.