Create csv reader and writer