added indexing in file