Update the example to support the folder parameter.