If you want to find some files include the certain centenses , for example , you would like to find which .cpp files have include the head file "hello.h", you can use find command like this:
find /findPath -name "*.cpp" | xargs grep "hello.h"
then you will get the file list which has sentences with words "hello.h".