Recursively finds all "file_pattern_name" files and folders and prints strings with "pattern", searching through found folders recursively.
find ./ -name "file_pattern_name"  -exec grep -r "pattern" {} \;