in reply to Scalars tied to logfiles

Change your initializer to accept a file handle or a filename. Not all of us want to use files that exist on disks.