code: public File closeAndRecycle() throws JournalException
      {
      	File recycledFile = new File(file.getAbsolutePath()+RECYCLED_SUFFIX);
      	if (!file.renameTo(recycledFile))
      		throw new JournalException("Cannot rename journal file "+file.getAbsolutePath()+" to "+recycledFile.getAbsolutePath());
      	
      	try
      	{
      		fillWithZeroes(recycledFile.length(), writeBuffer.length);
      	}
          catch (IOException e)
          {
              throw new JournalException("Cannot clear journal file : "+recycledFile.getAbsolutePath(),e);
          }
          
          sync();
          close();
          
          return recycledFile;
      }
docs: Close and recycle the journal file