Extend `FileValidator` to verify that a file has the correct permissions (e.g., executable, read-only).