<commit_before>package com.twitter.scrooge

object Main {
  def main(args: Array[String]) {
    println("Hello, world!")

    val importer = new Importer(args(0))
    val doc = (new parser.Parser(importer)).parseFile(args(1))
    println(doc)
    println(ScalaGen(doc))
  }
}<commit_msg>cleanup main to dump to a specified file.<commit_after>package com.twitter.scrooge

import _root_.java.io._

object Main {
  def main(args: Array[String]) {
    val importer = new Importer(args(0))
    val doc = (new parser.Parser(importer)).parseFile(args(1))
    val text = ScalaGen(doc)
    val out = new FileOutputStream(new File(args(2)))
    out.write(text.getBytes())
    out.close()
  }
}
{'fraction_non_alphanumeric': 0.1390922401171303, 'fraction_numerical': 0.007320644216691069, 'mean_word_length': 3.9927007299270074, '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': '6710975', 'n_tokens_mistral': 237, 'n_tokens_neox': 231, 'n_words': 53}