Pretty sure there are already apps for this, but it's just "delete everything before x date" which may not be helpful if theres anything he wants to keep.