add the read_config_config_file_hierarchy function
read_config_file_hierarchy: rename arguments
read_config_file_hierarchy: make docstring clearer
read_config_file_hierarchy: add assertion
read_config_file_hierarchy: typo
read_config_file_hierarchy: small improvement of docstring