             return type
         }
     }
-    
+
     ///
     /// The raw types
-    /// *Note*: This will be removed once JSON parsing and the types.json file can be read. 
+    /// *Note*: This will be removed once JSON parsing and the types.json file can be read.
     ///
     private var rawTypes = [
         "text/plain": ["txt","text","conf","def","list","log","in","ini"],

            extRange = lastPathElemRange
        }

        return contentTypeForExtension(fileName.substringWithRange(extRange))      
#else
        if  let lastSlash = fileName.range(of: "/", options: NSStringCompareOptions.backwardsSearch)  {
            lastPathElemRange = lastSlash.startIndex.successor()..<fileName.characters.endIndex

    public func isType (messageContentType: String, typeDescriptor: String) -> Bool {

        let type = typeDescriptor.lowercased()
#if os(Linux)
        let typeAndSubtype = messageContentType.bridge().componentsSeparatedByString(";")[0].lowercased()
#else
        let typeAndSubtype = messageContentType.componentsSeparated(by: ";")[0].lowercased()
