public boolean deleteDirOrFile(File dir) {
		if (dir.isDirectory()) {
			String[] children = dir.list();
			for (int i = 0; i < children.length; i++) {
				boolean success = deleteDirOrFile(new File(dir, children[i]));
				if (!success)
					return false;
			}
		}
		
		boolean estSupprime = dir.delete();
		System.out.println(dir.toString() + " est supprimé !");
		// The directory is now empty so delete it
		return estSupprime;
	}