'Check if the contents match.'

def _check_content(self, response, file_name):

    if self._content:
        if file_name.count('.'):
            extension = os.path.splitext(file_name)[1].replace('.', '')
            if (extension in self._ban_url):
                return
            try:
                local_content = open(file_name, 'r').read()
            except:
                om.out.debug(('Failed    to    open    file:    "%s".' % file_name))
            else:
                if (local_content == response.get_body()):
                    self._eq_content.append(response.get_url())
                else:
                    self._not_eq_content.append(response.get_url())
