def _readFile(self, path):
        """
        Read in the contents of a file.

        Override in subclasses to e.g. provide transparently encrypted dirdbm.
        """
        with _open(path.path, "rb") as f:
            s = f.read()
        return s

        Read in the contents of a file.

        Override in subclasses to e.g. provide transparently encrypted dirdbm.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/persisted/dirdbm.py