Small Refactoring to configuration file