public void handleRemoveMachineButton() {
    	if((loadView.getFileList().getSelectedIndex() >=0) && (loadView.getFileList().getSelectedValue() != null)){
	    	String machine = (String)loadView.getFileList().getSelectedValue();
	    	int result = JOptionPane.showConfirmDialog(mainWindow,"Sure you want to remove ".concat(machine.trim()).concat("?"),"Remove Machine",JOptionPane.YES_NO_OPTION);			 
	    	if (result == JOptionPane.YES_OPTION){
		    	File directory = new File("Saved/" + machine);
				if(directory.exists()){
		        	File[] fileList = directory.listFiles();
	    	    	for(File aFile: fileList){
	        			aFile.delete();
	        		}	    	
	             	directory.delete();
	             	handleLoadButton();	
	    		} 			
    		}
	    }	
    }