'funtion for get and check report files'

@staticmethod
def exportHtml(unchecked={}, sessionID='', dataLogger=[], APname=''):

    readFile = {'dhcp': {'logs/AccessPoint/dhcp.log': []}, 'urls': {'logs/AccessPoint/urls.log': []}, 'hostapd': {'logs/AccessPoint/hostapd.log': []}, 'bdfproxy': {'logs/AccessPoint/bdfproxy.log': []}, 'credentials': {'logs/AccessPoint/credentials.log': []}, 'dns2proxy': {'logs/AccessPoint/dns2proxy.log': []}, 'injectionPage': {'logs/AccessPoint/injectionPage.log': []}, 'dnsspoofAP': {'logs/AccessPoint/dnsspoof.log': []}, 'responder': {'logs/AccessPoint/responder.log': []}, 'pumpkinproxy': {'logs/AccessPoint/pumpkin-proxy.log': []}, 'tcpproxy': {'logs/AccessPoint/tcp-proxy.log': []}, 'phishing': {'logs/Phishing/requests.log': []}}
    count_files = len(readFile.keys())
    if (unchecked != {}):
        for key in unchecked.keys():
            readFile.pop(key)
    for key in readFile.keys():
        for filename in readFile[key]:
            with open(filename, 'r') as file:
                if (len(sessionID) != 0):
                    content = Refactor.get_content_by_session(file.readlines(), sessionID)
                    readFile[key][filename] = content
                else:
                    readFile[key][filename] = file.read()
    (contenthtml, HTML, emptyFile, activated_Files) = (Refactor.htmlContent('WiFi-Pumpkin    Report    Logger'), '', [], [])
    for i in contenthtml['htmlheader']:
        HTML += (i + '\n')
    if (dataLogger != []):
        HTML += '</span><span    class="s2">Session    information::</span><span    class="s1">\n\n'
        HTML += '</span><span    class="s5">[*]    ESSID    AP:    {}</span><span    class="s0"></span>\n'.format(APname)
        HTML += (('</span><span    class="s5">[*]    AP    Create    at:    </span><span    class="s0">' + dataLogger[0]) + '</span>\n')
        HTML += (('</span><span    class="s5">[*]    AP    Down            at:    </span><span    class="s0">' + dataLogger[1]) + '</span>\n\n')
    HTML += (('</span><span    class="s5">Report    Generated    at::</span><span    class="s0">' + asctime()) + '</span>\n\n')
    HTML += '</span><span    class="s4"><br></span><span    class="s1">\n'
    for key in readFile.keys():
        if (len(readFile[key][readFile[key].keys()[0]]) > 0):
            HTML += '</span><span    class="s2">-[    {}    Logger    ]-</span><span    class="s1">\n'.format(key)
            HTML += readFile[key][readFile[key].keys()[0]]
            HTML += '</span><span    class="s4"><br><br></span><span    class="s1">\n'
            activated_Files.append(key)
        elif (Refactor.getSize(readFile[key].keys()[0]) == 0):
            emptyFile.append(key)
    HTML += '</span></pre>\n<TABLE    CELLSPACING=0    CELLPADDING=5    COLS=1    WIDTH="100%"    BGCOLOR="#C0C0C0"    >                                <TR><TD><CENTER><FONT    FACE="Arial,    Helvetica"    COLOR="#000000">WiFi-Pumpkin    (C)    2015-2017    P0cL4bs    Team</FONT></center></TD></TR></TABLE></body>\n</html>\n'
    Load_ = {'HTML': HTML, 'Files': [readFile[x].keys()[0] for x in readFile.keys()], 'activated_Files': activated_Files, 'empty_files': emptyFile, 'Count': count_files}
    return Load_
