Added mechanism to keep track of old groups via a txt file