public synchronized Path deleteFile() throws IOException {
    final Path sourcePath = getPath();
    return RetryUtils.retryOnException(
        () -> {
          Files.delete(sourcePath);
          return sourcePath;
        });
  }
@return the path to the source file
@throws IOException if an I/O error occurs
iotdb-client/session/src/main/java/org/apache/iotdb/session/subscription/payload/SubscriptionFileHandler.java