def METHOD_NAME(self, globstring):
    color_inside = "{}"
    color_outside = '<font color ="#777">{}</font>'
    self.selected_paths = globList(self.list_of_paths, str(self.input_text.text()))
    with_color = []
    for path in self.list_of_paths:
        if path in self.selected_paths:
            with_color.append(color_inside.format(path))
        else:
            with_color.append(color_outside.format(path))
    self.info_text.setText("<br>".join(with_color))
    self.n_label.setText("Selected {} images".format(len(self.selected_paths)))