Added new SaveState method to FileStudy