config (str): Path to configuration file or directory containing a file called "config.py".
distributed_comm (MPI communicator): If given, load the configuration on the master process of this communicator and distribute the content. This can reduce load on the file system.
Returns:
Loaded configuration file, which can be accessed like a module.