added some functionality to also check for group files of the first few characters of the hostname only.