If the file is in the order of ID, you can read the file and send the flow to tSetGlobalVar. That way the last record (with the max id) will be stored in the globalMap. You can then use it+1 as the seed for Numeric.sequence.
If the file is not in order, use tAggregateRow to get the max id and then tSetGlobalVar to store it.