Cut index file