threw reading config file in try catch