added WText class for adding text to the files