[BasePlugin] Fix filename recognition