Why do you think it would take a DXF file?

The DXF will have no detail of cutting depths, axis velocities, accelarations, spindle speeds, or anything else.

You need to pass the DXF through a CAM processor.

EDIT: Have a look at CAMBAM, from memory, as an entry point to CAM processing.