replace index with correct file