public static void yesOrNo()
	{
		Console console = System.console();
		String input = console.readLine("type Y to confirm or N to exit:");
		if(input.contains("Y")||input.contains("y"))
		{
			TracksList.writeImages();
		}else if(input.contains("N")||input.contains("n"))
		{
			System.exit(0);
		}else
		{
			System.out.println("invalid choice." + input);
			yesOrNo();
		}

	}