     var filename: String
     var path: String
     var type: AttachmentType?
-    var name: Name?
+    var name: AttachmentName?
 
     init(screenshotsPath: String, dict: [String : Any], padding: Int)
     {

        }
        
        if let name = dict["Name"] as? String {
            self.name = Name(rawValue: name)
        }

        self.padding = padding

    }
}

enum AttachmentName: RawRepresentable {
    enum Constant: String {
        case kXCTAttachmentLegacyScreenImageData = "kXCTAttachmentLegacyScreenImageData"
    }
