If you accidentally selected a file and included it among those that you’ll delete, you can “undo” the said action. Depending on the method you used, you can tap “Cancel” or “Restore” to remove the file from the for-deletion items