def METHOD_NAME(path_details):
    """Adds a path to the path_set if it exists.
    Constructs a path based off of the parameters in the path_details
    tuple. Checks that the constructed path exists in the bucket
    defined in the outer function. If so, the path is added to path_set.
    Args:
        path_details (tuple):  of
            (file_type,
            num_column,
            column_type,
            num_file,
            table_size)
    """
    file_type, \
        num_column, \
        column_type, \
        num_file, \
        table_size = path_details
    for compression_type in compression_types[file_type]:
        if compression_type == 'none':
            extension = file_type
        else:
            extension = compression_extensions[compression_type]
        path = path_string.format(
            file_type,
            compression_type,
            num_column,
            column_type,
            num_file,
            table_size,
            extension,
        )
        exists = storage.Blob(
            bucket=bucket,
            name=path,
        ).exists(gcs_client)
        total_table_size = int(num_file) * \
            int(table_size.split('MB')[0])
        if exists:
            if run_federated_query_benchmark and \
                    (compression_type == 'snappy' or
                     total_table_size > MB_IN_TB):
                continue
            path_set.add(path)