Merge configuration files and return all configurations.