Update to ConvertToCSV.py, upgrade of logging adding in header/footer functionality.