Added code to read a file in, and dump() content
Bug fixes