use mOxie.Mime.getFileExtensioninstead of self building