group URLs in output file as in the FF's groups of tabs