def _fileTuples(path):
tuples = []<EOL>for json_path in glob.glob(os.path.join(path, '<STR_LIT>')):<EOL><INDENT>selector_glob = json_path.replace('<STR_LIT>', '<STR_LIT>')<EOL>for selector_path in glob.glob(selector_glob):<EOL><INDENT>output_path = selector_path.replace('<STR_LIT>', '<STR_LIT>')<EOL>assert os.path.exists(output_path), output_path<EOL>assert os.path.exists(json_path), json_path<EOL>tuples.append((json_path, selector_path, output_path))<EOL><DEDENT><DEDENT>return tuples<EOL>
Returns a list of path tuples (input, selector, output) under path.