private void handlePaste(KeyEvent e) {
		if (e.isControlDown() && e.getCode() == KeyCode.V) {
			Clipboard clipboard = Clipboard.getSystemClipboard();

			// Handle files
			for (File file : clipboard.getFiles())
				addPath(file.toPath());

			// Handle text which may be a path/url to a file
			String url = clipboard.getUrl();
			String string = clipboard.getString();
			if (string != null) {
				// Check if it is a file path
				if (new File(string).exists())
					addPath(Paths.get(string));

				// Check if it is a file uri
				url = string;
			}
			try {
				URI u = URI.create(url);
				if ("file".equals(u.getScheme())) {
					String host = u.getHost();
					if (host != null)
						return;
					String path = u.getPath();
					File filePath = new File(path);
					if (filePath.exists())
						addPath(filePath.toPath());
				}
			} catch (IllegalArgumentException _) {}
		}
	}
Handle adding files via the clipboard when pasting.

@param e
		Key press event.
recaf-ui/src/main/java/software/coley/recaf/ui/pane/WorkspaceBuilderPane.java