Load the file into Excel; insert column. You didn't specify how the data is stored (file on disk; some type of data structure in memory; etc.).

Viggy