Writing contents to the wiki file