create host_groups file