Try this .dxf
Here's what I did:
Open in AutoCAD.
Select and EXPLODE
Use a spline to pline lisp to covert splines to polylines.
Use PEDIT to close the polylines.
It should work for you.
I use a Morbidelli, which also uses Xilog and .pgm files.
However, we create all our code in AlphaCAM, and I only use Xilog for editing g-code.
With our Morbidelli, the .pgm files are binary, and can't be created without a special post for AlphaCAM.
However, we have a utility that can convert standard text g-code files into binary .pgm files. I think it's call Xiso or something similar.
If you have this utility, you can use any CAM program to create your g-code, and then use the utility to convert them to binary .pgm files.
You most likely will need a modified post to include the proper header and correct formatting, but most CAM programs should have this capability.