I have took it from this post and modified for mutliple dwg.
Not good in python. Any suggestion please