handle hostname config files