def readFile(self):
        '''
        Read the data from the file specified in the global object path.
        The data readed is encoded with the format specified in the global
        object encoding, by default this object is UTF-8. Use this method
        if you don't want to modify the data received from the file.

        Returns: text {string} -- encoded text readed from file
        '''
        text = ''

        try:
            with codecs.open(self.path, 'r', self.encoding) as file:
                text = file.read()
        except (__HOLE__, UnicodeError):
            pass

        return text
dataset/ETHPy150Open gepd/Deviot/libs/JSONFile.py/JSONFile.readFile