Add/use `cached-file`.

Generalized function for what `read-navbar` was doing.