fixed trace text filenames -- it was appending to the same string. alos fixed some logging so that its consistent and does not have unwanted new lines.