                 }
             }
             catch let error as NSError {
-                print("Yoink \(error.localizedDescription)")
+                if fileManager.fileExists(atPath: path) {
+                    _ = self.application(sender, openFile: path)
+                }
+                else
+                {
+                    print("Yoink \(error.localizedDescription)")
+                }
             }
         }
     }

        
        if open.runModal() == NSModalResponseOK {
            if let url = open.url {
                do {
                    let doc = try Document.init(contentsOf: url, ofType: "DocumentType")
                    let dc = NSDocumentController.shared()
                    doc.makeWindowControllers()
                    dc.addDocument(doc)
                } catch let error {
                    print("*** Error open file: \(error.localizedDescription)")
                }
            }
        }
    }

        let index = urlString.index(urlString.startIndex, offsetBy: 9)
        let url = urlString.substring(from: index)

        NotificationCenter.default.post(name: Notification.Name(rawValue: "HeliumLoadURL"),
                                        object: url,
                                        userInfo: ["hwc" : hwc as Any])
    }

    @objc func handleURLPboard(_ pboard: NSPasteboard, userData: NSString, error: NSErrorPointer) {
        if let selection = pboard.string(forType: NSPasteboardTypeString) {
            let hwc = NSApp.keyWindow?.windowController

            // Notice: string will contain whole selection, not just the urls
            // So this may (and will) fail. It should instead find url in whole
            // Text somehow
            NotificationCenter.default.post(name: Notification.Name(rawValue: "HeliumLoadURL"),
                                            object: selection,
                                            userInfo: ["hwc" : hwc as Any])
        }
    }
    // MARK: Finder drops
    func application(_ sender: NSApplication, openFile: String) -> Bool {
        let urlString = (openFile.hasPrefix("file://") ? openFile : "file://" + openFile)
        return self.doOpenFile(fileURL: URL.init(string: urlString)!)
    }
    
    func application(_ sender: NSApplication, openFiles: [String]) {
