removed irrelevant functions
changed default filename to include dwg filename