<commit_before>#include <algorithm>

#include "env.hh"
#include "parse_args.hh"
#include "consumer.hh"

using namespace std;
using namespace boost::filesystem;

int main(int argc, char** argv) {
    argc--;
    argv++;

    vector<path> files;
    string playlist;
    parse_args(argc, argv, files, playlist);

    Consumer consumer(std::move(playlist));
    for (auto& file : files) {
        consumer.consume(std::move(file));
    }
}<commit_msg>Revert "Move each `file` into the `Consumer::consume` method."<commit_after>#include <algorithm>

#include "env.hh"
#include "parse_args.hh"
#include "consumer.hh"

using namespace std;
using namespace boost::filesystem;

int main(int argc, char** argv) {
    argc--;
    argv++;

    vector<path> files;
    string playlist;
    parse_args(argc, argv, files, playlist);

    Consumer consumer(std::move(playlist));
    for (const auto& file : files) {
        consumer.consume(file);
    }
}
{'fraction_non_alphanumeric': 0.14574468085106382, 'fraction_numerical': 0.0, 'mean_word_length': 3.9010416666666665, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5468263', 'n_tokens_mistral': 314, 'n_tokens_neox': 308, 'n_words': 80}