added load file which converts csv into an array of hashes