we have the following file ( files.sum )
the first field is the name of the file
the second field is the seprator
the thired feald is the sum
configuration.txt:2327432786 config.csv:458349573 config.csv1:446433543 mod_binaries.txt:475327527 mod_bin:2358934573875
we want to capture the sum of the file - config.csv
$SUM will be the third required value - 458349573
what is the power shell cli that can give the sum values according to the name of the file ?