def filter_for_dataset(dataset_hash, items):
    """
    Return only the subset of items that is related to the dataset_hash
    """
    filtered = []
    for item in items:
        if item['file'].startswith(dataset_hash):
            filtered.append(item)
    return filtered