Trying desperately to figure out how to check if the file already has content (a dictionary) in it.

I believe I'm close to figuring this out.