File serverRoot = new File(getUserData().getServerLocation());
if (serverRoot.exists())
{
FileManager fm = new FileManager(this);
try {
fm.deleteRecursively(serverRoot, null,
FileManager.DeletionPolicy.DELETE_ON_EXIT_IF_UNSUCCESSFUL);
} catch (ApplicationException e) {
LOG.log(Level.INFO, "error deleting files", e);
}
}