Change index to detect the language variant used in a file based 
  on its extension. .v, .vl, and .vlog are considered to be Verilog 2005
files,
  while the remainder are considered to be SystemVerilog files.