allow client parameter override on construct and add file adapter