Update CSVtoXML.cs

Removed some unnecessary code, fixed an issue that would cause the program to crash if the logfile didn't already exist, and removed the deletion of blank .xml files because it caused problems later on when the program tried to move the file.