Added ability to save and open files