pub fn collect_pdf_files(dir: &Path) -> Result<Vec<PathBuf>, EdgePdfError>
Collect PDF files from a directory (non-recursive).