Need to parse a csv and send data to a twig template

As I said in the subject I need to parse a csv inside my theme Theme.php inside root folder of the theme and send all the parsed data to a specific template.

template.html.twig(the one I need to send parsed data to)

My Theme.php has the following content:

<?php namespace Grav\Theme; use Grav\Common\Theme; class ThemeTemplate extends Theme { ////read csv here and send all parsed data to template.html.twig } ?>

Any suggestions/examples in order to achieve this?

Thank you!