Another huge `match` (especially the `Path` arm).