Merge pull request #1302 from Marsman1996/issue_1301

Check filename before coping to initialLogFileName