code: @Override
  	public void archive() {
  		Log.info("Starting local archiving...");
  		
  		String fileName = FileHandlerUtil.generateAuditFileName(FileHandlerUtil.substractDate(new Date(),
  				archiveDateDiff));
  		String archiveFileName = FileHandlerUtil.generateAuditArchiveFileName(FileHandlerUtil.substractDate(new Date(),
  				archiveDateDiff));
  
  		String filePath = FileHandlerUtil.generateOutputFilePath(path, fileName);
  		String archivePath = FileHandlerUtil.generateOutputFilePath(path, archiveFileName);
  
  		if (FileHandlerUtil.isFileAlreadyExists(filePath)) {
  
  			FileOutputStream fos = null;
  			try {
  				fos = new FileOutputStream(archivePath);
  			} catch (FileNotFoundException e) {
  				// TODO Auto-generated catch block
  				e.printStackTrace();
  			}
  			ZipOutputStream zos = new ZipOutputStream(fos);
  			ZipEntry ze = new ZipEntry(fileName);
  			try {
  				zos.putNextEntry(ze);
  
  				FileInputStream in = new FileInputStream(filePath);
  
  				int len;
  				while ((len = in.read(buffer)) > 0) {
  					zos.write(buffer, 0, len);
  				}
  
  				in.close();
  				zos.closeEntry();
  				zos.close();
  				System.out.println("Done");
  			} catch (IOException e) {
  				// TODO Auto-generated catch block
  				e.printStackTrace();
  			}
  		}
  	}
docs: /* (non-Javadoc)
  @see org.audit4j.core.handler.file.ArchiveJob#archive()