def METHOD_NAME(schedules, fmt, dorm="Unknown"):
	# TODO something something globals
	file = fmt.format(re.sub("\s", "-", dorm.lower().strip()))
	print("Rendering schedule for dorm {} to file {}".format(dorm, file))
	with open(file, "w") as file:
		yaml.dump(schedules_to_document(schedules), file, default_flow_style=None)