How do i delete images from the filsystem programmatically using mediaId?

hi im using the media service api that umbraco brings to the table.
but this method only deletes the media object from the database:

enter image description here

I want to delete the file from the database and the file system using
the mediaId, how can i make it ?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/104822-how-do-i-delete-images-from-the-filsystem-programmatically-using-mediaid