Fixed for loop in CSFLineReader