Check label before renaming files