added an if statement to ignore sentiment files