Print the text file paths that match 'needle text' in their contents under 'my_folder' recursively
grep -rl "needle text" my_folder | tr '\n' '\0' | xargs -r -0 file | grep -e ':[^:]*text[^:]*$' | grep -v -e 'executable'