Write into an empty text file