The file extension to check ('jpg'), or a file name or path
('photo.jpg', '/tmp/backup.tar.gz'). Only the text after the last . is used,
and matching is case-insensitive.
The type of the file (document, video, audio, archive, image, or unknown).
Returns the type of a file based on its extension.