def _load(self):
        """
        Function load.

        :return: file contents
        :raises: NotFoundError if file not found
        """
        if self.is_exists():
            return open(self._ref, "rb").read()
        raise NotFoundError("File %s not found" % self._ref)
def _load ( self ) : if self . is_exists ( ) : return open ( self . _ref , "rb" ) . read ( ) raise NotFoundError ( "File %s not found" % self . _ref )
Function load.

        :return: file contents
        :raises: NotFoundError if file not found