Throw ArgumentError when there's an invalid config file, and catch only that.