Every file in this module has started the same way:
1name,city
Nobody is called name. Nobody lives in city.
name
city
That first line isn't data — it's the labels for the data. And your loop has been treating it like everybody else.