Simplify filename handling of dynamic analysis helper