Groping through big data with grep