Added file and progress saving features.