Find all files with the extension ".txt" in the current directory, sort them in reverse order, take the first one and print its contents.
find . -name "*.txt" -maxdepth 1 -print0 |sort -zR|head -1z |xargs -0 cat