from index
read from file