do we need to care for deleting a folder when it does not exists ?

Maybe just rename it delete_directory

Also, for the project I prefer 'folder' instead of 'directory' to refer to a filesystem directory.