Calling this will give you the extension via a MIME (Multipurpose Internet Mail Extension).
Function GetExtensionByMIME(mime)
mime (input) - the MIME you want to use
Returns the extension
See also
Platform Objects and Methods
target.file.GetExtension
target.file.GetFileNames
target.file