Export only one Layer as DXF from Multiple Standalone Files

The script in this post can be used to export to *.dxf