<commit_before>var http     = require('http'),
	fs       = require('fs'),
	path     = require('path'),
	director = require('../../../lib/director'),
	index;

fs.readFile('../html5-routes-harness.html', function (err, data) {
	if (err) {
		throw err;
	}

	index = data;
});

var CONTENT_TYPES = {
	'.js'  : 'text/javascript',
	'.css' : 'text/css'
};

// Dummy file server
function fileServer(folder, file) {
	var filepath = folder;
	if (file) {
		filepath += "/" + file;
	}

	// Special case
	if (folder == "build") {
		filepath = "../../../" + filepath;
	} else {
		filepath = "../" + filepath;
	}<commit_msg>Use path instead of string concatentation.<commit_after>var http     = require('http'),
	fs       = require('fs'),
	path     = require('path'),
	director = require('../../../lib/director'),
	index;

fs.readFile('../html5-routes-harness.html', function (err, data) {
	if (err) {
		throw err;
	}

	index = data;
});

var CONTENT_TYPES = {
	'.js'  : 'text/javascript',
	'.css' : 'text/css'
};

// Dummy file server
function fileServer(folder, file) {
	var root = path.resolve(__dirname, '..');
	if (folder === 'build') {
		root = path.resolve(root, '..', '..');
	}

	var filepath = path.resolve(root, folder, file);
{'fraction_non_alphanumeric': 0.21703521703521703, 'fraction_numerical': 0.001638001638001638, 'mean_word_length': 2.954692556634304, 'pattern_counts': {'":': 0, '<': 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': '6517143', 'n_tokens_mistral': 458, 'n_tokens_neox': 445, 'n_words': 99}