Removed Direct access to the config file