I\'ve seen numerous examples on how to take a CSV file and then create an associative array with the headers as the keys.
For example:
Brand,Model,Pa
Too many long solutions. I've always found this to be the simplest: