change file names to index