Find the first file in the current directory (and its subdirectories) with any name and any extension, and print its MIME type.
find ~ -iname '*.*' | xargs file -i | cut -d':' -f2 | awk '{print $1}' | sort | head -n 1