         else {
             return nil
         }
-        
+
         let rawValue = match.replacingOccurrences(of: ".", with: "")
         self.init(rawValue: rawValue)
     }


// MARK: - FileType

public enum FileType: String, Equatable, CaseIterable {
    case h, json, m, markdown = "md", mm, pbxproj, plist, storyboard, swift, xcscheme, yaml, yml
}

// MARK: - FileType extensions


    public var fileType: FileType? {
        return FileType(from: self)
    }

    public var name: String {
        return String(self)
    }
