The effect of cosmic web filaments on the properties of groups and their central galaxies