find . -name 'filename' -exec sh -c 'grep string1 $0 | grep string2' {} \; -print