Added save and restore session from file