This part should be probably done with Shogun as well, see io/CSVFile