Added ability to save multiple diagrams to file

Incorporated multiple diagrams saving to file and reading from file.