but i was after something else
like see
2007-05-31-0000,0,0,537,538,489,490,0,0,0,0,0,0,46,46
2007-05-31-0001,0,0,552,552,489,489,2,2,0,0,0,0,60,60
2007-05-31-0002,0,0,526,526,482,482,0,0,0,0,0,0,43,43
2007-05-31-0003,1,1,575,575,518,518,0,0,0,0,0,0,57,56
2007-05-31-0004,0,0,522,522,480,480,0,0,0,0,0,0,42,42
....
this text file goes on and on for one day and as you can see it updates every minute so there will be like 1440 lines in this file for any specific date and i had to sum up the specific filed (f4) on hourly basis , thats why i tried to use for loop , atleast it clears the sense