method 'writeToFile' is not striptag process