'read load file and add in Qlistwidget'

def GetloggerInjection(self, data):

    if (Refactor.getSize('logs/AccessPoint/injectionPage.log') > 255790):
        with open('logs/AccessPoint/injectionPage.log', 'w') as bufferlog:
            (bufferlog.write(''), bufferlog.close())
    if (data not in self.urlinjected):
        self.log_inject.addItem(data)
        self.urlinjected.append(data)
    self.log_inject.scrollToBottom()
