def _get_content(self, *args, **kwargs):
    'Use open_archive and return content using a with-statement.'
    with tools.open_archive(*args, **kwargs) as f:
        return f.read().replace(b'\r\n', b'\n')
Use open_archive and return content using a with-statement.
def _get_content(self, *args, **kwargs):
    
    with tools.open_archive(*args, **kwargs) as f:
        return f.read().replace(b'\r\n', b'\n')