Simplified csv code even more.