Use the new configFileName stuff in...

...connectionhandling aswell. Man this is getting cluttered. I should clean it up.