fixing setter of fileName in sharedInstance