public boolean addFile(DB db, String filePath) throws Exception {
		//Creation de l'objet GridFS
		GridFS fs = new GridFS(db);
		//Chargement du fichier
		byte[] imageBytes = LoadFile(filePath);
		InputStream inputStream = new ByteArrayInputStream(imageBytes);
		//Gnration du nom final
		String finalName = filePath.substring(filePath.lastIndexOf('/') + 1);
		//Sauvegarde du fichier en base
		GridFSInputFile in = fs.createFile(inputStream, finalName);
		//Identification du contenu
		in.setContentType(checkExtension(finalName));
		in.save();
		logger.info("Fichier " + finalName + " insr.");
		return true;
	}