extracted tagging and boosting into file