code: @Override
  	public void init() {
  		int count = 10485760;
  		RandomAccessFile randomAccessFile;
  		String realPath = FileHandlerUtil.generateOutputFilePath(path);
  
  		try {
  			if (FileHandlerUtil.isFileAlreadyExists(realPath)) {
  				randomAccessFile = new RandomAccessFile(realPath, CoreConstants.READ_WRITE);
  			} else {
  				randomAccessFile = new RandomAccessFile(new File(realPath), CoreConstants.READ_WRITE);
  			}
  			// move the cursor to the end of the file
  			randomAccessFile.seek(randomAccessFile.length());
  
  			 out = randomAccessFile.getChannel().map(FileChannel.MapMode.READ_WRITE, 0, count);
  		} catch (IOException e) {
  			e.printStackTrace();
  		}
  	}
docs: /* (non-Javadoc)
  @see org.audit4j.core.handler.file.AuditFileWriter#init()