Added file storage utility, added onPause/Resume