map function for csv harvests