I have gotten gates working in get_config, I just need to write the actual file reading bit, which should be easy.