creating file for create_groups