Stores canvas as txt file