config file handling wip