             let user:String  = options.username,
             let pass:String  = options.password,
             let issueTransitionName:String  = options.transitionname,
-            let changelog:String = options.changelog,
+            let file:String = options.file,
             let api:JTKAPIClient = JTKAPIClient.init(endpointUrl: url, username: user, password: pass),
             let comment:String = options.comment
             where !options.endpoint.isEmpty

        let runLoop = CFRunLoopGetCurrent()

        do {
            let path = NSURL(fileURLWithPath: changelog)
            let text = try NSString(contentsOfURL: path, encoding: NSUTF8StringEncoding) as String
            var lines:[String] = []
            text.enumerateLines { lines.append($0.line)}

        public let password: String
        public let transitionname: String
        public let comment: String
        public let file: String?
        
        public static func create(endpoint: String)
            -> (username: String)
            -> (password: String)
            -> (transitionname: String)
            -> (comment: String)
            -> (file: String?)
            -> Options {
                return { username in { password in { transitionname in { comment in { file in
                    return self.init(endpoint: endpoint,
                                     username: username,
                                     password: password,
                                     transitionname: transitionname,
                                     comment: comment,
                                     file: file)
                    } } } } }
        }
        
