void del(File f) throws IOException{           
	if(f.exists() && f.isDirectory()){
	   if(f.listFiles().length==0){//del it if it's empty 
	      f.delete();  
	    }else{ 
	       File delFile[]=f.listFiles();  
	        int i =f.listFiles().length;  
	        for(int j=0;j<i;j++){  
	           if(delFile[j].isDirectory()){  
	               del(delFile[j]);  
	            }  
	           delFile[j].delete();     
	        }  
	    }      
	} 
	System.out.println(f.getAbsolutePath() + " has been deleted");
}