implement config file