Using `file` makes sense - it saves us the `context.pathname`, but to get at the list of extensions it still will have to go through `context.environment.attributes_for` (I'd prefer that to using a substring match); just for the example simplification below, it totally pays off though (-: