This removes one level of indirection, which is nice because it was visible to the callers. The `Index` struct is now empty. The next step is obviously to delete it (and perhaps rename `IndexFile` to `Index` or `ReadonlyIndex`).