Added file exist condition for sonar profile.