Function for recursive config data imports

.applyImports(cfg_data, filename)

Arguments

cfg_data

config data, possibly including imports statement

filename

path to the file to get the imports for

Value

config data enriched in imported sections, if imports existed in the input