<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def readFile(self, pathToFile):
 """ Returns data from a file. @type pathToFile: str @param pathToFile: Path to the file. @rtype: str @return: The data from file. """

        fd = open(pathToFile,  "rb")
        data = fd.read()
        fd.close()
        return data