Created method to read config.properties