define `__file__` in config files

Allows referencing the config file location (e.g. `here = os.path.dirname(__file__)`).