I have a .dat file. I am creatting a class which takes file name as an input. I have below code.But it gives an error. I want to return it as dictionary. Actually, my main p