public static function getDefaultFileExtension($mime) {

		if(empty(self::$mimeToExtension)) {
			self::$mimeToExtension = array_flip(self::$extensionToMime);
		}

		return isset(self::$mimeToExtension[$mime]) ? self::$mimeToExtension[$mime] : '';

	}