Fix check for double string names, strip files to show only string names when checking for doubles