Added saving to file and loading from file