Find a file in the current directory and its subdirectories (up to 3 levels deep) that contains the specified string, randomly select one of them, and display its name.
find ~ -maxdepth 3 -exec grep -lZ "{}" \; | sort -R | head -n 1