Process config file