Added save/open functionality