public void printToFile(String fileName){
		String protocolString = "";
		
		protocolString += "\n" + "#include \"biocoder.h\"";
		protocolString += "\n" + "void main()";
		protocolString += "\n" + "{";
		
		protocolString += "\n" + "\t" + "start_protocol(\"Quik Change Site Directed Mutagenesis\");" + "\n";
		
		protocolString += "\n" + "\t" + "// Materials needed";
		
		for(int i = 0; i < this.materials.size(); i++){
			protocolString += "\n" + "\t" + this.materials.get(i);
		}
		
		protocolString += "\n" + "\n" + "\t" + "// Containers needed";
		
		for(int i = 0; i < this.containers.size(); i++){
			protocolString += "\n" + "\t" + this.containers.get(i);
		}
		
		protocolString += "\n\n" + "\t" + "// Steps needed to complete protocol";

		
		for(int i = 0; i < this.steps.size(); i++){
			if(this.steps.get(i).startsWith("next_step") == true && i != 0){
				protocolString += "\n";
			}
			protocolString += "\n" + "\t" + this.steps.get(i);
		}
		
		protocolString += "}";
		
		
		try {
		    BufferedWriter out = new BufferedWriter(new FileWriter(Data.protocolDirectory + File.separatorChar + fileName));
		    out.write(protocolString);
		    out.close();
		} catch (IOException e) {
			System.out.println("Something went wrong while trying to save " + fileName);
		}
	}