fixed issue with read_csv. Parsing input by hand instead of using csv lib... this has three advatages: (1) better performace :) (2) better control (3) it works properly (wc -l says yes)