How to keep 2 most recent backups & delete the rest

Do you have another folders in that directory and want to search through those folders?

Yes exactly.

Before, I was sending all of this through Data Shapes, which allowed me to toggle true or false for the deepSearch function, which I would like to keep if possible?