public static void printCompanyDataToFile(String file, Company company) {
		BufferedWriter output;
		FileWriter streamFiles;
		try {
			streamFiles = new FileWriter(file, true);
			output = new BufferedWriter(streamFiles);
			if(ReadFromFile.getNumberFromFile(file) < 2) {
				for(int i = 0; i < 9; i++) {
					if(i!= 8)
						output.write("\\" + company.getCompanyData(i) + "\\,");
					else
						output.write("\\" + company.getCompanyData(i) + "\\");
				}
				output.close();
			}
			else {
				for(int i = 0; i < 9; i++) {
					if(i == 0)
						output.write("\n\\" + company.getCompanyData(i) + "\\,");
					else if(i != 8)
						output.write("\\" + company.getCompanyData(i) + "\\,");
					else
						output.write("\\" + company.getCompanyData(i) + "\\");
				}
				output.close();
			}
		}
		catch(IOException i) {}
	}