private void clearConfigurationFiles ( ) throws IOException { final Path file = storagePath . resolve ( NAME ) ; Files . deleteIfExists ( file ) ; final Path backupFile = storagePath . resolve ( BACKUP_NAME ) ; Files . deleteIfExists ( backupFile ) ; }
Remove both backup and primary configuration files on delete