refactor config file name and location.