treat cpp and c files distinctly