function GetMIMETypeFromFile(AFile: TFileName): string;
GetMIMETypeFromFile uses a TIdMIMETable to determine the registered MIME type for the specified file.