Already solved:
<?php
if( have_rows('group_content') ):
while ( have_rows('group_content') ) : the_row();
if( get_row_layout() == 'paragraph' ):
$text = get_sub_field('text');
echo $text;
elseif( get_row_layout() == 'download' ):
$file = get_sub_field('file');
echo $file;
endif;
endwhile;
endif;
?>