class MessageArchive implements AutoCloseable {

	public void close() {
		try {
			currentFileName = "";
			if (indexFile != null){
				indexFile.close();
				indexFile = null;
			}
			if (dataFile != null){
				dataFile.close();
				dataFile = null;
			}
			currentFileName = "";
		} catch (Exception exp) {
			LoggingService.logError(MODULE_NAME, exp.getMessage(), exp);
		}
	}

	public  MessageArchive(String name);

}