I have a .dat file. I am creatting a class which takes file name as an input. I have below code.But it returns as a list. I want to return it as dictionary. And also, I want