@FXML void createMasterlist(ActionEvent e) {
		if(!red_1.getText().equalsIgnoreCase(defaultText) && !red_2.getText().equalsIgnoreCase(defaultText) && !red_3.getText().equalsIgnoreCase(defaultText) && 
				!blue_1.getText().equalsIgnoreCase(defaultText) && !blue_2.getText().equalsIgnoreCase(defaultText) && !blue_3.getText().equalsIgnoreCase(defaultText)
					&& !teamlist.getText().equalsIgnoreCase(defaultText)) {
			// Create the file here
			StringBuilder data = new StringBuilder();
			String prefix = "";
			for(File f : matchFiles) {
				try {
					BufferedReader br = new BufferedReader(new FileReader(f));
					String line = "";
					while((line = br.readLine()) != null) {
						if(line.equalsIgnoreCase("Red 1")) {
							// Eventually filter through to see if it is Red 1 Blue 1 etc.
							prefix = "r1";
						} else if(line.equalsIgnoreCase("Red 2")) {
							prefix = "r2";
						} else if(line.equalsIgnoreCase("Red 3")) {
							prefix = "r3";
						} else if(line.equalsIgnoreCase("Blue 1")) {
							prefix = "b1";
						} else if(line.equalsIgnoreCase("Blue 2")) {
							prefix = "b2";
						} else if(line.equalsIgnoreCase("Blue 3")) {
							prefix = "b3";
						} else if(line.equalsIgnoreCase("TEAMLIST:")) {
							prefix = "ID";
						}
						data.append(prefix + ":" + line + "_LINE_");
					}
					br.close();
				} catch (Exception e1) {
				}
			}
			
			File masterList = fileChooser.showSaveDialog(MatchListCreator.getStage());
			
			if(masterList != null) {
				try {
					BufferedWriter br = new BufferedWriter(new FileWriter(masterList));
					
					for(String s : data.toString().split("_LINE_")) {
						br.append(s);
						br.newLine();
					}
					
					br.close();
					
				} catch (IOException e1) {
				}
			}
			
		}
	}