<commit_before>var http = require('http');

var server = http.createServer(function(request, response) {

    response.writeHead(200, {"Content-Type": "text/plain"});
    response.end("Hello Azure!");

});

var port = process.env.PORT || 1337;
server.listen(port);

console.log("Server running at http://localhost:%d", port);<commit_msg>modified html page<commit_after>var http = require('http');
var fs = require('fs')

var server = http.createServer(function(request, response) {

    // response.writeHead(200, {"Content-Type": "text/plain"});
    // response.end("Hello Azure!");

    var pathname = url.parse(request.url).pathname;

    console.log('Request for ' + pathname + ' received.');

    fs.readFile(pathname.substr(1), function (err, data) {
        if(err){
            console.log(err);
            response.writeHead(404, {'Content-Type': 'text/html'});
        }
        else {
            response.writeHead(200, {'Content-Type': 'text/htl'});
            response.write(data.toString());

        }
        response.end();
    });

});

var port = process.env.PORT || 1337;
server.listen(port);

console.log("Server running at http://localhost:%d", port);
{'fraction_non_alphanumeric': 0.18112244897959184, 'fraction_numerical': 0.017857142857142856, 'mean_word_length': 3.327205882352941, 'pattern_counts': {'":': 2, '<': 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': '6968947', 'n_tokens_mistral': 375, 'n_tokens_neox': 353, 'n_words': 70}