Reorder to eliminate forward reference to fileio. This is really only
relevant to a reader; it runs either way.