'Initialize the file sensor.'

def __init__(self, name, file_path, unit_of_measurement, value_template):

    self._name = name
    self._file_path = file_path
    self._unit_of_measurement = unit_of_measurement
    self._val_tpl = value_template
    self._state = None
