Added logic to remove old backups