Config file refactoring.