parse first row of file and turn back to client