public void readBIFFromFile(String sFileName) throws BIFFormatException, IOException {
		m_sFileName = sFileName;
		try {

			BIFReader bayesNet = new BIFReader();
			bayesNet.processFile(sFileName);
			m_BayesNet = new EditableBayesNet(bayesNet);
			updateStatus();
			a_datagenerator.setEnabled(m_BayesNet.getNrOfNodes() > 0);
			m_BayesNet.clearUndoStack();
		} catch (Exception ex) {
			ex.printStackTrace();
			return;
		}

		setAppropriateNodeSize();
		setAppropriateSize();
	}