calling IFile.delete method, but its a javascript keyword.https://www.eclipse.org/forums/index.php/mv/msg/175904/560378/#msg_560378
I think eclipse monkey is neat. I didn't expect to ever find a need to
write a monkey script, then all of a sudden: I want to extract a
project's classpath, manipulate the strings and write them out to
another file.

I wrote the em script to write contents to a new file. I was happy that
IFile.create worked fine. However, IFile.create returned error on my
second run because the file already exists. Obviously, I need to delete
the file first. Unfortunately, the 'delete' string appears to be a key
word in javascript. (Please note that I have not written a stitch of
javascript until I wanted to develop an em script.)