reading from index file now