Add getfilename event to medlogicwithmanagers