The endpoint type being initialized is know so there is there no point in checking for diferent config file names.