write some text in smile.txt file