     return (source, githubName)
 }
 
+func checkUrlImportFile(existingUrls:[String:Int]) {
+
+	let path = "foobar.txt"
+                    print("BOOOM!!!")
+    if let fileManager =  FileManager.default as FileManager! {
+ _ = try? fileManager.createDirectoryAtPath( path,
+                   withIntermediateDirectories: true,
+                                    attributes: nil )
+}
+
+	let importUrls = readLines(filePath: "/tmp/import_urls.txt")
+	for url in importUrls {
+
+                    print("NEW??: \(url)")
+                if let _ = existingUrls[url] {
+//                    print("Error: Duplicate URL: \(url)")
+                } else {
+                    print("NEW: \(url)")
+		}
+		
+	}
+
+}
+
 let lines = readLines(filePath: "/tmp/swift_urls.tsv")
+
 var allUrls:[String:Int] = [:]
 
 var ok:Int


printTagsArray()
printTagCountVar()

    i += 1
}

checkUrlImportFile(existingUrls: allUrls)

func printTagsArray() {
    
    let names = allTags.keys.sorted( by: { $0.lowercased() < $1.lowercased() } )
