now parses index files