public void importArchive(Archive archive) {
		dull = true;
		CacheIndice indice = cache.getIndice(0);
		try {
			byte[] data = null;
			String location = SwingUtils.getFilePath("Select Archive", Constants.getExportDirectory(), false, new JAGFileFilter());
			if (location != null) {
				data = DataUtils.readFile(location);
			}
			if (archive == interfaces) {
				if (data != null) {
					indice.updateFile(3, data);
				}
			}
			if (archive == media) {
				if (data != null) {
					indice.updateFile(4, data);
				}
			}
			if (data != null) {
				cache.rebuildCache();
				JOptionPane.showMessageDialog(this, "Archive replaced successfully.");
			} else {
				JOptionPane.showMessageDialog(this, "An error occurred while replacing the archive.");
			}
		} catch (Exception e) {
			JOptionPane.showMessageDialog(this, "An error occurred while replacing the archive.");
			e.printStackTrace();
		}
		dull = false;
	}