replace csv reader with simpler line splitter