     public func parse(file filename: String, base: String? = nil, handleTriple: @escaping TripleHandler) throws -> Int {
         switch inputSyntax {
         case .ntriples, .turtle:
-            return try serd_parse(file: filename, base: base, handleTriple: handleTriple)
+            return try serd_parse(file: filename, base: base, produceUniqueBlankIdentifiers: produceUniqueBlankIdentifiers, handleTriple: handleTriple)
         default:
             let fileURI = URL(fileURLWithPath: filename)
             let p = RDFXMLParser(base: fileURI.absoluteString)

    var handler: TripleHandler
    var env: OpaquePointer!
    
    init(env: OpaquePointer, handler: @escaping TripleHandler) {
        var blankNodes = [String:Term]()
        self.count = 0
        self.env = env

        return context.count
    }
    
    public func serd_parse(file filename: String, base _base: String? = nil, produceUniqueBlankIdentifiers: Bool = true, handleTriple: @escaping TripleHandler) throws -> Int {
        guard let input = serd_uri_to_path(filename) else { throw RDFParserError.parseError("no such file") }
        
        var baseUri = SERD_URI_NULL
