Should an on-disk filename be captured as a PathBuf?

If I have a step that refers to an on-disk filename, should that capture have its own type, and not just be word?