    def delete(self, silent_del=False):
        # Function for deleting the lower quality images that were found after the search
        '''
        Parameters
        ----------
        silent_del : bool, optional
            Skip user confirmation when delete=True (default is False)
        '''
        silent_del = _validate_param._silent_del(silent_del)
        
        if len(self.lower_quality) > 0:
            if not silent_del:
                usr = input('Are you sure you want to delete all lower quality matched images? \n! This cannot be undone. (y/n)')
                if str(usr).lower() == 'y':
                    deleted_files = self._delete_files()
                else:
                    print('Deletion canceled.')
                    return
            else:
                deleted_files = self._delete_files()

        print(f'Deleted {deleted_files} file(s)')

        return
Parameters
----------
silent_del : bool, optional
Skip user confirmation when delete=True (default is False)
difPy/dif.py