powered by
A utility function to retrieve the file type from a file extension (via its filename/path/URL)
get_ext(file)
A character string containing a filename, file path, or URL.
A characters string containing a file type recognized by rio.