         
         for type in map{
             var exts: NSArray = type.value as NSArray
+            if(exts.count == 0){
+                println(type)
+            }
             for var index = 0;index < exts.count; ++index {
                 self.types[exts[index] as NSString] = type.key as? NSString
             }

                continue
            }
            var fields: NSArray = line.stringByReplacingOccurrencesOfString("\\s+", withString:" ", options: .RegularExpressionSearch, range: NSMakeRange(0, line.length)).componentsSeparatedByString(" ")
            map[fields.firstObject as NSString] = fields.subarrayWithRange(NSMakeRange(1, fields.count-1))
        }
        self.define(map)
        

    func lookupExtension(mimeType: NSString) -> NSString{
        return self.extensions[mimeType]!
    }
}
