NEW: Added %FILE_EXT% template variable that  output the file extension