Fixed scenario when collection array is empty
Merge branch 'add-option-to-backup-specific-collections'
Added function to keep only certain number of backup files and remove the rest after uploading to s3