write edited .apsim or .xml files to specified wd, not current one
ignore unnecessary files