More specifically, reads in the file, removes all the pointless $00's from the data, and cleans it up in general. Then finds the (x=q) line since Google's textbox is named "q" and records the value for x while also saving all the (id=data) lines to a hash, then searches all the index lines for that x value which tells which of the data lines have values for "q", and transfers all the corresponding data from the hash to an array, which gets sorted and dumped to fhdump.txt in the current directory.
Other forms could easily contain a textbox named "q" as well, so the results could contain values from other forms, but it was good enough for my curiosity. As expected, my saved search queries contained various search terms that could be considered bizarre or incriminating when taken out of context much like a lot of the AOL search queries. Grain of salt is definitely needed. :P Names, addresses, etc all included. Especially because it contains search terms from Google Maps, driving directions, and more. So yeah, just a little tidbit created out of boredom. :P