added check for null shared parameter filename