I'm not sure how an OLEDbTransaction fits inb to the process of deleting a file.

It's not a database operation.