Added basic CSV functionality