delfile command , possible replacements

SOLVED

I found this great little command, delfile, for deleting files programaticaly from the X3 folders.

I am in V12 Patch 20.

I can run the command in the calculator and it works.

When i tried to compile it using Eclipse... the source will not compile because it is " Unknown Instruction; Illegal character."   I tried from process editor... same thing.

So how can a command work in the calculator, but not be recognized by the runtime to be compiled?  Was it deprecated?

Alternatively...  what are people using as a replacement since this command doesn't work?

Test Case - place a file in your TRT directory,   TEST.txt for instance, then run Delfile(filpath("TRT","TEST","txt",0))  in the calculator.

thank you