<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_sitemap(self, path='sitemap.xml', https=False):
 		""" 		Generate an XML sitemap. 		Args: 		 path (str):
 The name of the file to write to. 		 https (bool):
 If True, links inside the sitemap with relative scheme 		 (e.g. example.com/something) will be set to HTTPS. If False (the 		 default), they will be set to plain HTTP. 		"""

		sitemap = russell.sitemap.generate_sitemap(self, https=https)
		self.write_file(path, sitemap)