cleanup index files