Added a parameter for the source of the config file.