rm index file of layout