If you do not know the File ID of the file on Google Drive, but you know the name of the file, you will need to use a google apps script to carry out the search.
One of the problems with this method is that you can have many files with the same name (and therefore you could call or delete the wrong file), but they will all have different FILE ID's, which is why you should write your code with both (and much easier to call the ID)
Here is an example of such a script:
I would still refer you to my previous post above, that if all images are originating from the app, you can capture the filename and file ID when you upload them to google drive, either back to the app or to a google sheet, then using lists of pairs to select a filename but actually use it's ID to carry out action on the file.