I have created a flow where when a list item is created, attachements attached to this item are created as different files on a sharepoint folder (used apply to each loop there to create multiple files attached by user). I will then extract these files using the provision on automate in the same apply to each loop and then outside of this loop, I have these files emailed to the required party. Now once this email is sent, i want to delete these files that i had created for the sake of submission. I tried to use get files properties only action after email to list files within the folder I had created them, then used delete file action inside another apply to each loop there to delete the multiple files listed by get files prop only action, flow succeeds but files were never deleted.
i guess im choosing wrong inputs for delete file action, but i understand this need to be in a loop to be able to delete multiple files in one go.

I doubt my skills to be able to extract file name from create file action under main apply to each loop where I had created these files in the first place. even if i do, how to use that to delete files is going over my head 
any suggestions on how to delete these files are most welcome.