Find all files with the extension ".txt" and search for the pattern "SOMEPATTERN" in them, displaying only the names of the files that contain the pattern.
find -name "*.txt" | xargs grep -l "SOMEPATTERN"