/// <summary>
        /// Converts given file extension to a MIME type.
        /// </summary>
        /// <param name="fileExtension">The file extension.</param>
        /// <returns>The MIME type converted from the file extension.</returns>
        public string GetMimeType(string fileExtension)
        {
            try
            {
                return(MimeUtil.GetMimeType(fileExtension.ToLower()));
            }
            catch (Exception exception)
            {
                ErrorHandler(exception.Message);
            }

            return("");
        }