Triggering from a csv file

I am new to this so forgive me if this is a dumb question. I am trying to control the heating (on/off) in a few areas of a building depending on usage.
Unfortunately, the information (date, start time, finish time & location) is only available from a csv file.
Is there an established way to read the csv file to obtain the trigger information?

You can create a sensor that reads the last line of the file.

Not sure if this will work in your case.