For clarity, I would prefer `each` instead of `map` as we don't use the returned value of set_env at all here.
Also `| file |` --> `|file|`