The body of this function is very small and quite transparent.
You should merge this into parseLine.