private void loadData() {
        clear();
        
        String filename = Main.filenameResolver.getProvinceHistoryFile(provId);
        
        if (filename == null) {
            // must be terra incognita.
            return;
        }
        
        provData = EUGFileIO.load(filename, ParserSettings.getDefaults().setPrintTimingInfo(false));
        
        // Discoveries
        
        List<String> discoveredBy = EU3History.getHistStrings(provData, "discovered_by", date);
        
        for (String groupOrTag : discoveredBy) {
            if (!groupOrTag.matches("\\w{3}")) {
                // not a tag, so it must be a tech group
                JCheckBox box = techGroupCheckBoxes.get(groupOrTag);
                if (box != null) {
                    box.setSelected(true);
                } else {
                    System.out.println("Can't find checkbox for group " + groupOrTag);
                }
            } else {
                String text = countryDiscoveriesTextField.getText();
                if (text.length() == 0 || text.endsWith(" ")) {
                    countryDiscoveriesTextField.setText(text + groupOrTag);
                } else {
                    countryDiscoveriesTextField.setText(text + " " + groupOrTag);
                }
            }
        }
    }