final public static function get_mimetype(
		string $fname, string $path_to_file=null
	) {

		if (null === $mime = self::_mime_extension($fname))
			return self::_mime_magic($fname, $path_to_file);
		return $mime;
	}