Add `env` support to DocodeFile