def return_file_and_patter(self, object_name, keyword):
        regex = None
        file_path = None
        table_name = self.get_doc.get_table_name_from_index(object_name,
                                                            keyword)
        if not table_name:
            return regex, file_path
        table_path = path.join(self.table_dir, table_name)
        data = get_data_from_json(table_path)
        if DBJsonSetting.file_path in data:
            file_path_table = data[DBJsonSetting.file_path]
        else:
            file_path_table = None
        if self.rf_data(file_path_table):
            regex = self.get_regex_resource(keyword)
            file_path = file_path_table
            return regex, file_path
        else:
            return self.get_lib_keyword(
                table_path,
                object_name,
                keyword
            )
Returns regex and filename patter to find keyword from the source
dataset/ETHPy150Open andriyko/sublime-robot-framework-assistant/command_helper/get_keyword.py/GetKeyword.return_file_and_patter