def output(id, url):
    """
    View the files from a dataset.
    """
    data_source = get_data_object(id, use_data_config=False)

    if not data_source:
        sys.exit()

    data_url = "%s/%s" % (floyd.floyd_web_host, data_source.name)
    if url:
        floyd_logger.info(data_url)
    else:
        floyd_logger.info("Opening output directory in your browser ...")
        webbrowser.open(data_url)
View the files from a dataset.