extract file name, remove index skip