Handling non-existent or corrupt config file