public static boolean delete(@NotNull File file) {
    try {
      deleteRecursively(file.toPath());
      return true;
    }
    catch (IOException e) {
      return false;
    }
    catch (Exception e) {
      logger().info(e);
      return false;
    }
  }
public static boolean delete(@NotNull File file)