called when a csv formed via socket