pub fn format_from_path<P: AsRef<Path>>(path: P) -> Option<String>
Return a MIME type given a file path.
This function will use the file extension to determine the MIME type.