Breakout csv processing into its own method