def METHOD_NAME(self):
    """Read the data from the statistics file generated by Wazuh."""
    try:
        logging.info("Getting statistics data from {}".format(self.statistics_file))
        data = {'Timestamp': datetime.now().strftime('%Y/%m/%d %H:%M:%S')}
        if not self.parse_json:
            self._parse_classic_state_file(data)
        else:
            self._parse_logcollector_state_file(data)
    except Exception as e:
        logger.error(f'Exception with {self.statistics_file} | {str(e)}')