DeleteFile function is used to delete a particular file of specific extension.
Select SET command from the action dropdown and provide a variable name in Element key where output will be stored, edit parameter section and click on Form, select functions from the dropdown and select DELETEFILE function. Provide file path that you want to delete and click on save icon.
If file is deleted successfully then it will return true in the variable defined in the Element key else it will return false. This variable can be further used in subsequent steps for verification.
After completing this step, step will look as below: