<commit_before>import http.client
import json


class Storage:
    @staticmethod
    def store(content):
        body = {
            "description": "Got from stdin :)",
            "public": True,
            "files": {
                "ShellOutput.txt": {
                    "content": content
                }
            }
        }

        connection = http.client.HTTPSConnection('api.github.com')

        try:
            connection.request('POST', '/gists', json.dumps(body), {
                "application": "vnd.github.VERSION.raw+json",
                "Content-Type": "application/json",
                "User-Agent": "app"<commit_msg>added filename parameter to storage<commit_after>import http.client
import json


class Storage:
    @staticmethod
    def store(filename, content):
        body = {
            "description": "Got from stdin :)",
            "public": True,
            "files": {
                str(filename): {
                    "content": content
                }
            }
        }

        connection = http.client.HTTPSConnection('api.github.com')

        try:
            connection.request('POST', '/gists', json.dumps(body), {
                "application": "vnd.github.VERSION.raw+json",
                "Content-Type": "application/json",
                "User-Agent": "app"
{'fraction_non_alphanumeric': 0.1293233082706767, 'fraction_numerical': 0.0, 'mean_word_length': 1.5352380952380953, 'pattern_counts': {'":': 15, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3929675', 'n_tokens_mistral': 359, 'n_tokens_neox': 336, 'n_words': 68}