because you have EDM machine we can't advise with any special coding. check your manual.
XY profile looks ok. see pic attached
what control do you have? Fanuc something? Using G92 assumes Fanuc 6M?
be careful about typos.... (XI.625)... I should be 1
file type is not important for CNC G code programs. it's just text.
you can use any file type supported by your editor software even .txt
You may need Z- value in there somewhere unless you are EDM'ing air
You missed O and program number.
Proper format is like this.....
O1234 (PROGRAM NAME)
(your program here)