move index file to /var/file