If you want to find specific text in a given directory recursively, the best way to do it would be with the grep command and a pattern.
Just like that:
grep -rnw '/path-to-search/' -e 'pattern'
-r or -R is recursive,
-n is line number, and
-w stands for match the whole word.
-l (lower-case L) can be added to just give the file name of matching files.