def __init__(self, filename, mode='a', encoding=None, delay=0):
        #keep the absolute path, otherwise derived classes which use this
        #may come a cropper when the current directory changes
        if codecs is None:
            encoding = None
        self.baseFilename = os.path.abspath(filename)
        self.mode = mode
        self.encoding = encoding
        if delay:
            self.stream = None
        else:
            stream = self._open()
            StreamHandler.__init__(self, stream)
Open the specified file and use it as the stream for logging.
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/logging/__init__.py/FileHandler.__init__