class FileHelper {

    public static boolean deleteDirRecursively(File directory) throws IOException {
        if (!directory.exists()) {
            return false;
        }
        FileUtils.deleteDirectory(directory);
        return true;
    }

}