quick fix to configurationfile, to allow filename to be set in ConfigFiles enum. This way the switch statement can be simplified, and file names only have to be specified once.