Added Microsoft word writer function to WriteFile.