It would be better to cache the result of `groupByKey` below than to cache the text file