Moved the setting of the config file name.

The path of the config file is now handed in as an argument to the
run method for cdn.