public static ArrayList<Vin> readListeVins(String fileName) {
		ArrayList<Vin> vins = new ArrayList<Vin>();

		BufferedReader br;
		try {
			br = new BufferedReader(new FileReader(fileName));

			String line = br.readLine();
			// We ignore the first line (only the attribute names)
			line = br.readLine();

			while (line != null) {
				String valeurs[] = new String[12];
				String splitLine[] = line.split(";");

				// if there is no field for "quality" (this is the case for the
				// "evaluation" data file), we just set the quality of the new
				// wine to 0
				if (splitLine.length == 11) {

					for (int i = 0; i < 11; i++) {
						valeurs[i] = splitLine[i];
					}
					valeurs[11] = "0";

				} else if (splitLine.length == 12) {
					valeurs = line.split(";");
				} else {
					br.close();
					throw new InputMismatchException(
							"Wrong format of Input file");
				}

				vins.add(new Vin(Double.parseDouble(valeurs[0]), Double
						.parseDouble(valeurs[1]), Double
						.parseDouble(valeurs[2]), Double
						.parseDouble(valeurs[3]), Double
						.parseDouble(valeurs[4]), Double
						.parseDouble(valeurs[5]), Double
						.parseDouble(valeurs[6]), Double
						.parseDouble(valeurs[7]), Double
						.parseDouble(valeurs[8]), Double
						.parseDouble(valeurs[9]), Double
						.parseDouble(valeurs[10]), Double
						.parseDouble(valeurs[11])));

				line = br.readLine();
			}

			br.close();
		} catch (IOException e) {
			e.printStackTrace();
		}

		return vins;
	}