code: private void removeSpoolFile() throws IOException
     {
        if (spoolFile != null)
        {
           if (spoolFile instanceof SpoolFile)
           {
              (spoolFile).release(this);
           }
  
           if (PrivilegedFileHelper.exists(spoolFile))
           {
              if (!PrivilegedFileHelper.delete(spoolFile))
              {
                 spoolConfig.fileCleaner.addFile(spoolFile);
  
                 if (LOG.isDebugEnabled())
                 {
                    LOG.debug("Could not remove file. Add to fileCleaner "
                       + PrivilegedFileHelper.getAbsolutePath(spoolFile));
                 }
              }
           }
        }
     }
docs: Delete current spool file.
  
  @throws IOException
  if error