csv splitter for generators