Match label to file name exactly and add End labels.