@FXML
	public void importList(ActionEvent e) {
		if(selectedAllianceGroup.getSelectedToggle() != null) {
			File list = fileChooser.showOpenDialog(ScoutingClient.getStage());
			
			if(list != null) {
				matchList.clear();
				try {
					BufferedReader br = new BufferedReader(new FileReader(list));
					String line = "";
					
					String alliance = ((RadioMenuItem)selectedAllianceGroup.getSelectedToggle()).getText();
					
					boolean canContinue = false;
					while((line = br.readLine()) != null) {
						if(!canContinue) {
							if(line.contains(alliance)) {
								canContinue = true;
							}
						} else {
							try {
								if(!line.contains("ID:")) {
									String[] matches = line.split(":");
									String[] matchRes = matches[1].split(",");
									if(matchRes.length > 1) {
										matchList.put(matchRes[0], matchRes[1]);
									}
								} else {
									
								}
							} catch(IndexOutOfBoundsException a) {
								a.printStackTrace();
								break;
							}
						}
						// This is a team ID
						if(line.contains("ID:") && !line.contains("TEAMLIST")) {
							String[] team = line.split(":")[1].split(",");
							int teamID = Integer.parseInt(team[0]);
							String teamName = team[1];
							teamList.put(teamID, teamName);
						}
					}
					br.close();
					
					if(matchList.containsKey("1")) {
						numberRound.setText("1");
						numberTeam.setText(matchList.get("1"));
					}
					
					ScoutingClient.getStage().setTitle(ScoutingClient.TITLE + " " + ScoutingClient.VERSION + " - " + alliance.toUpperCase());
					
				} catch (Exception e1) {
					e1.printStackTrace();
				}
				
			}
		} else {
			JOptionPane.showConfirmDialog(null, "Please select an alliance under Teams!", "Are you serious, bro?", JOptionPane.OK_OPTION, JOptionPane.ERROR_MESSAGE);
		}
		
	}