Guess the type of a file based on its path. Similar to guess_type(), but takes file path instead of URL.
mimetypes/MimeTypes.guess_file_type
MimeTypes.guess_file_type