question: private void deleteCurrentFile ( File fileToDelete ) throws IOException { logger . info ( "Preparing to delete file {}" , fileToDelete ) ; if ( ! fileToDelete . exists ( ) ) { logger . warn ( "Unable to delete nonexistent file: {}" , fileToDelete ) ; return ; } if ( ! fileToDelete . delete ( ) ) { throw new IOException ( "Unable to delete spool file: " + fileToDelete ) ; } deleteMetaFile ( ) ; }
target:  Delete the given spooled file