@Override
  public void deleteFile(String path) {
    tableMetaStore.doAs(
        () -> {
          Path toDelete = new Path(path);
          FileSystem fs = getFs(toDelete);

          try {
            fs.delete(toDelete, false);
          } catch (IOException e) {
            throw new UncheckedIOException("Fail to delete file: " + path, e);
          }
          return null;
        });
  }
Implementation of {@link AuthenticatedFileIO} for hadoop file system with authentication.
amoro-format-iceberg/src/main/java/org/apache/amoro/io/AuthenticatedHadoopFileIO.java