emodel eio example: Fixed deletion of directories.