Fix line endings. add a helper function to translate groupname to roomname