Added file save option, and session registry