question: protected static void deleteFile ( @ Nonnull final File file ) { Check . notNull ( file , "file" ) ; Check . stateIsTrue ( ! file . exists ( ) || file . delete ( ) , "Cannot delete file '%s'." , file . getPath ( ) ) ; }
target:  Removes the given file.