`os.path.join` accepts a variadic number of arguments so you can just do `os.path.join(os.getenv("RED_SPIDER_ROOT"), "doc", "doc.txt")`