def __init__(self, filename, callback):
        super(PluginEventHandler, self).__init__(ignore_directories=True,
                                                 regexes=['.*' + filename])
        self.callback = callback