code: public void close() throws BackupException
     {
        try
        {
           SecurityHelper.doPrivilegedIOExceptionAction(new PrivilegedExceptionAction<Void>()
           {
              public Void run() throws IOException
              {
                 for (File tmpDir : tmpDirs)
                 {
                    DirectoryHelper.removeDirectory(tmpDir);
                 }
  
                 return null;
              }
           });
        }
        catch (IOException e)
        {
           throw new BackupException(e);
        }
  
        dataDirs.clear();
        zipFiles.clear();
        tmpDirs.clear();
     }
docs: {@inheritDoc}