how can dbt read files and use it when refresh model

i have some configuration files. inside the configuration file, it has different attribute value like account_id, name. how can i read the file during model refresh? found below solution, but looks like dbt doesn’t have read_file function.

configuration files is like below:
xx.config:

BINARY_TAB_FILE=TRUE
USE_END=TRUE
ACCOUNT=10000

Anyone done this before? thanks so much in advance.
ZX

Are all your configurations just key value pairs and do you have just 3 configs ?
If so then you could use either environment variables or dbt variables.