'Return the raw data corresponding to the file specified by name
:param decode: If True and the file has a text based mimetype, decode it and return a unicode object instead of raw bytes.
:param normalize_to_nfc: If True the returned unicode object is normalized to the NFC normal form as is required for the EPUB and AZW3 file formats.'

def raw_data(self, name, decode=True, normalize_to_nfc=True):

    ans = self.open(name).read()
    mime = self.mime_map.get(name, guess_type(name))
    if (decode and ((mime in OEB_STYLES) or (mime in OEB_DOCS) or (mime == u'text/plain') or (mime[(-4):] in {u'+xml', u'/xml'}))):
        ans = self.decode(ans, normalize_to_nfc=normalize_to_nfc)
    return ans
