Added condition to look for the url on entire file