if my file looks like:
a b c END f e END
Then how can I put the contents of the file in a nested dictionary in python like this: {a:{b,c}, f: