don't switch on cpp or c files