Conver CTS to CSV format