add the read_config_config_file_hierarchy function