set filename in ctor