Java obtenga archivo de URL

//passing url to URL class  
URL url = new URL("https://www.javatpoint.com/java-threadpoolexecutor");  
System.out.println("Url: "+ url);  
// Fetching file name   
File file = url.getFile();
System.out.println("File name in given url is : " + file);  
Bredo