Revert "traces created from scratch hold self.file=None"

This reverts commit cdc900dc899f2e89f446a8794974516a0c0447f4.