Amend `load_config_from_file` to return True on success and False on failure. You can then ignore what is printed to stderr and just look at the True/False value.