I just manually deleted about 1gb of useless old version files from that folder. But I've got 966 items there and no way to going through them all, plus some of them are not even that simple to identify as being an older version of the same app since they change names.

Is there any way to automate the process? Why are they kept there in the first place?