tried to convert file into hash with keys - realized previous code yielded wrong data