Refactor configuration file handling
Do not use non-existing config files