Import Data from CSV file indexed by column

Hello

I have this code to import data from a csv file, so it’s read line by line and stop on the last line. This is my code which work perfectly :

	       new File("C:/Data/file.csv").splitEachLine(";") {fields ->
		//Read data from CSV
		String var1 = fields[0]
		String var2 = fields[1]
		String var3 = fields[2]
		String var4 = fields[3]
		
		println ("1/ The result of the first column is       : "+var1)
		println ("2/ The result of the second column is : "+var2)
		println ("3/ The result of the third column is      : "+var3)
		println ("4/ The result of the fourth column is    : "+var4)

I would like to modify it to learn data undexed by column like field[name column], something like this.
Can you help me?

How about this?