Get config from config file