How do I go about looping through a advanced custom field on a particular page inside of another page

Figured it out just had to do this , the page-custom-field.php is included to shorten the code.

<?php  $query = new WP_Query( array( 'pagename' => 'features' ) ); ?>  
    <?php  while ( $query->have_posts() ) : $query->the_post(); ?>

        <?php include page-custom-field.php' ?>

    <?php endwhile; ?>

<?php  wp_reset_postdata(); ?>