Expand and collapse all in Scene window

To quickly find and decimate objects in a large scene it would be handy to expand all groups/folder type objects in the scene tree so you can just select objects fast for decimation