br.close();
else { fm = new InventoryFileManager(this); dataSource = fm; }
    protected void openXML() {	/**	if(inventory != null) {	    String fileID = defaultOpenCSVPath;	    System.out.println("Open file at path: " + fileID);	    fileChooser.setSelectedFile(new File(fileID));	}	*/	int retval = fileChooser.showOpenDialog(this);	if(retval == fileChooser.APPROVE_OPTION) {	    File openFile = fileChooser.getSelectedFile();	    String invXML="";	    try{		BufferedReader br = new BufferedReader(new FileReader(openFile));		String nextLine = br.readLine();		while(nextLine != null) {		    invXML = invXML + nextLine + "\n";		    nextLine = br.readLine();		}		br.close();	    }	    catch(IOException ioe) {		throw new RuntimeException(ioe);	    }	    InventoryFileManager fm;	    if(dataSource instanceof InventoryFileManager)  {		fm = (InventoryFileManager) dataSource;	    }	    else {		fm = new InventoryFileManager(this);		dataSource = fm;	    }	    inventory = parser.parseString(invXML);	    editPane.setText(invXML);	    fm.addItem(inventory,invXML);	    Vector orgs = dataSource.getOrgNames();	    String[] fileType = dataSource.getSupplyTypes();	    selector.initializeComboBoxes(orgs,fileType);	    Vector assetNames = dataSource.getAssetNames(inventory.getOrg(),fileType[0]);	    selector.setAssetNames(assetNames);	    selector.setSelectedOrgAsset(inventory.getOrg(),fm.getFullItemName(inventory));	    multiChart.setData(inventory);	    	}		    }