<commit_before>package carelender.model;

/**
 * Handles all database and file saving
 */
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
public class Model {

public class Model {
	
	private static File eventFile;
	public static String filename;
	
	public Model() {
		eventFile = new File(filename);
	}
	
	public static void addEvent(String string) {
		FileWriter fw;
		try {
			fw = new FileWriter(eventFile, true);
			BufferedWriter bw = new BufferedWriter(fw);
	        bw.write(string);
	        bw.newLine();
	        bw.flush();
	        bw.close();<commit_msg>Fixed terrible merge error.<commit_after>package carelender.model;

/**
 * Handles all database and file saving
 */
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class Model {
	
	private static File eventFile;
	public static String filename;
	
	public Model() {
		eventFile = new File(filename);
	}
	
	public static void addEvent(String string) {
		FileWriter fw;
		try {
			fw = new FileWriter(eventFile, true);
			BufferedWriter bw = new BufferedWriter(fw);
	        bw.write(string);
	        bw.newLine();
	        bw.flush();
	        bw.close();
{'fraction_non_alphanumeric': 0.10425020048115477, 'fraction_numerical': 0.0, 'mean_word_length': 3.3183391003460208, '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': '4489322', 'n_tokens_mistral': 415, 'n_tokens_neox': 372, 'n_words': 109}