I think we can just use `f.name` here, and save ourselves assigning it to another variable. I'm pretty sure context manager targets remain accessible after the context.