jodd-core/src/main/java/jodd/io/FileUtil.java
public static File toFile(final URL url) {
		String fileName = toFileName(url);
		if (fileName == null) {
			return null;
		}
		return file(fileName);
	}
public static File toFile(final URL url) {
		String fileName = toFileName(url);
		if (fileName == null) {
			return null;
		}
		return file(fileName);
	}
Converts {@link File} {@link URL}s to {@link File}. Ignores other schemes and returns {@code null}.