test read from existing index file