Read in static files into `collection.files` as `StaticFile`s.

Fixes #2555.