Load groups from file.