def create_file(self, row, newPath, fetched):
        """Create File
        Once the parse founds something worth it, we need to create the .m3u file
        to do so we except a newPath and the current row used from names file and also
        the content from the fetched response

        Keyword arguments:
        row -- row of the language file, this allow us to understand which names
        were useful for the brute force.

        newPath -- The path that we use to store the current fetched accounts.

        fetched -- the current response file from the attack.
        """
        if os.path.exists(newPath) is False:
            os.makedirs(newPath)
        outputFile = open(str(newPath) + "/tv_channels_%s.m3u" % row.rstrip().lstrip(), "w")
        outputFile.write(fetched)
        self.foundedAccounts = self.foundedAccounts + 1
        outputFile.close()
dataset/ETHPy150Open Pirate-Crew/IPTV/iptv/Crawler.py/Crawler.create_file/original