Get File Type from Extension
A utility function to retrieve the file type from a file extension (via its filename/path/URL)
get_ext(file)
file |
A character string containing a filename, file path, or URL. |
A characters string containing a file type recognized by rio.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.