private static void Fileout(ArrayList<classifiedData> Data, String FileOutLoc){
		PrintWriter writer = null;
		
		int CEDDSize = 144;
		int FCTHSize = 192;
		//write to the data file
		try {
			writer = new PrintWriter(FileOutLoc, "UTF-8");
		} catch (FileNotFoundException e) {
			System.err.println("Could not open data file");
		} catch (UnsupportedEncodingException e) {
			System.err.println("Could not encode data to this file");
		}
		//header for .arff file
		writer.println("@RELATION CEDDFCTHDATA");
		writer.println(" ");
		
		
		//Write CEDD out
		int i = 0;
		for(i = 0; i < CEDDSize; i++){
			writer.println("@ATTRIBUTE CEDDData"+ i + " NUMERIC");
		}
//		System.out.println("CEDD @Atts added: " + i);
		
		//write FCTH out
		int j = 0;
		for(j = 0; j < FCTHSize; j++){
			writer.println("@ATTRIBUTE FCTHData"+ j + " NUMERIC");
		}
//		System.out.println("FCTH @Atts added: " + j);
		
		
		
		//TODO Expand these classifications?
		writer.println("@ATTRIBUTE Classification {Healthy, unHealthy}");
		writer.println(" ");
		writer.println("@DATA");
		//String to hold all of the data for each new line 
		String tmp = null;
		
		//for each object in the data array list
		for(int k = 0; k < Data.size(); k++){
			//fill tmp String with the data
			tmp = DataToStiring(Data.get(k));
			//write it
			writer.println(tmp);
		}
		System.out.println("Finished Writing to File");
		writer.close();
		
	}