in reply to Better Way to Search Large File.

If your CSV file is sorted on the employee_name field, you could try a slightly modified binary search. Its a little tricky - seek to the middle of each search span, parse the second line from that point, and use tell to keep track of your position. I don't know if this would gain you anything unless the file was too large to load into memory.