begin prototype save to file functionality