private void loadDbTableDataFromFile(DbSchema schema) throws WaarpDatabaseSqlException, IOException {
		int read = 0;
		VitamReader reader = getReader();
		switch (type) {
			case CSVTYPE: {
				String[] values = null;
				int warning = 0;
				DbTable table = schema.getTables().get(0);
				while ((values = reader.readOneLine()) != null) {
					read++;
					if (values.length != simpleTypes.size()) {
						logger.warn("Attention: une ligne n'a pas le nombre de champs suffisant: " + (read+1));
						warning++;
					}
					addOneTableRow(table, values, read, 0);
				}
				if (warning > 0) {
					logger.warn("Enregistrements lus: " + read + " Mal formés (CSV): " + warning);
				}
			}
				break;
			case MULTIPLETYPE: {
				String[] values = null;
				while ((values = reader.readOneLine()) != null) {
					int rank = Integer.parseInt(values[0]);
					DbTable table = schema.getTables().get(rank);
					read++;
					addOneTableRow(table, values, read, 1);
				}
			}
				break;
			case UNIQUETYPE: {
				String[] values = null;
				DbTable table = schema.getTables().get(0);
				while ((values = reader.readOneLine()) != null) {
					read++;
					addOneTableRow(table, values, read, 0);
				}
			}
				break;
		}
		System.out.println("Enregistrements lus: " + read);
	}