<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fetch(self):
 """ Method for getting artifact's content. Could only be applicable for file type. :return: content of the artifact. """

        if self.data.type == self._manager.FOLDER_TYPE:
            raise YagocdException("Can't fetch folder <{}>, only file!".format(self._path))

        response = self._session.get(self.data.url)
        return response.content