@Override
  public void deleteFile(InputFile file) {
    if (matchTrashFilePattern(file.location())) {
      moveToTrash(file.location());
    } else {
      super.deleteFile(file);
    }
  }
Implementation of {@link AuthenticatedFileIO} with deleted files recovery support.
amoro-format-iceberg/src/main/java/org/apache/amoro/io/RecoverableHadoopFileIO.java