making and using config file