Simplified csv code.