def handle_event(self, event):
    if ((not event.is_directory) and event.src_path.endswith('.json')):
        print((('Certificate storage changed (' + os.path.basename(event.src_path)) + ')'))
        self.handle_file(event.src_path)
def handle_event(self, event):
    if ((not event.is_directory) and event.src_path.endswith('.json')):
        print((('Certificate storage changed (' + os.path.basename(event.src_path)) + ')'))
        self.handle_file(event.src_path)