We used custom panel inherited form this one. Basically we only need to override getActiveFile() so we made it protected.