bug fix: was creating extra target dir; reset statics when resstarted another copy; log the full file path.