 		self.openFilePress(sender as AnyObject)
 	}
     @IBAction func openFilePress(_ sender: AnyObject) {
+        let app: AppDelegate = NSApp.delegate as! AppDelegate
         let open = NSOpenPanel()
         open.allowsMultipleSelection = false
         open.canChooseFiles = true

            }
        }
    }
}


    }

    func applicationWillTerminate(_ aNotification: Notification) {
        //  Save sandbox bookmark url
        if self.isSandboxed() { _ = self.saveBookmarks() }

        // Save histories to defaults
        var temp = Array<AnyObject>()
