Make code template according to different file extension name.