We don't actually need to pass file here, and it's going to make it easier
to test if we don't.