added segmentatito CSV function