gms file causes X4 to crash

Trying to create my own macro.

open notepad, do a "save as", name it test.gms, change file type to all types, save to prog files/corel...draw/gms

close corel and reopen. start new page and it instantly crashes. If I delete that file from the directory all is fine again.

I have 47 files there at around 357kb. Is their a limitation as to the number of files can be there? Am I missing something. I've done this successfully many times before.