Find the current working directory and list all files in it, cut the file name at the dot and sort the results randomly, then display the first one.
find $(pwd) -type f | cut -s -d '.' -f2 | sort -R | head -n1