def METHOD_NAME(self):
    for key, value in self.table_usage.items():
        if value:
            value.sqlQueries = self.table_queries.get(key, [])
            data = value.json()
            with open(
                os.path.join(self.config.filename, f"{value.serviceName}_{key[1]}"),
                "a+",
                encoding=UTF_8,
            ) as file:
                file.write(json.dumps(data))
                file.write("\n")