Added exception handling for config.ini file access