updated for handling empty config file