Hi
You can use script task and write some dotnet code as below
connectionString = "Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=" + importFolder + ";"
conn = New Odbc.OdbcConnection(connectionString)
da = New System.Data.Odbc.OdbcDataAdapter("select * from [" + fileName + "]", conn)
da.Fill(dt)
you can query the dataset table and get your value and save to a variable
Then run the next task on this value