could you please advice how to read data from file as a dict.
file some contains the following:
{\'foo1\': (0, 10), \'foo2\': (0, 9), \'foo3\': (0, 20)