- Consolidate file discovery, size validation, and NUL byte detection into a single-pass loop.
- Implement chunked reading (64KB) for NUL byte detection to minimize memory footprint.
- Reduce system calls by retrieving file metadata once per file.
- Maintain existing sorted output for reporting.
- Verified with integration tests and manual edge-case testing.