We should document the awesome compareWithFileList parameter that lets you use inventory reports for remove_orphan_files in the docs. I had to find it after googling and stumbling on PR #4503.
https://apache-iceberg.slack.com/archives/C03LG1D563F/p1690322588417159