''

def openFile(self):

    dirPath = os.path.split(self.outfile)[0]
    if (not os.path.isdir(dirPath)):
        try:
            xlsxtool.createDir(dirPath)
        except:
            self.xlsxClear(EXPORT_ERROR_CPATH, (dirPath,))
    try:
        fileHandler = codecs.open(self.outfile, 'w+', 'utf-8')
    except:
        self.xlsxClear(EXPORT_ERROR_FILEOPEN, (self.outfile,))
    self.__onOpenFile(fileHandler)
    return
