find all files with extension '.c' in directory `folder`,results += [each for each in os.listdir(folder) if each.endswith('.c')]