<commit_before>package protka.main;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;

import protka.filter.SwissprotRowFilter;

public class FilterRows {
  private static final String[] requiredProps = { "inputDatFile",
      "outputDatFile" };

  public static void main(String args[]) throws IOException {
    if (args.length != 1) {
      System.out.println("Usage: FilterRows settings.properties");
      return;
    }

    PropertyHandler propHandler = new PropertyHandler(requiredProps);
    SwissprotRowFilter swissprotRowFilter = new SwissprotRowFilter();

    FileInputStream is;
    FileOutputStream os;

    try {
      Properties properties = propHandler.readPropertiesFile(args[0]);

      is = new FileInputStream(
          properties.getProperty("inputDatFile"));<commit_msg>Creating folder for output file: to be tested<commit_after>package protka.main;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;

import protka.filter.SwissprotRowFilter;

public class FilterRows {
  private static final String[] requiredProps = { "inputDatFile",
      "outputDatFile" };

  public static void main(String args[]) throws IOException {
    if (args.length != 1) {
      System.out.println("Usage: FilterRows settings.properties");
      return;
    }

    PropertyHandler propHandler = new PropertyHandler(requiredProps);
    SwissprotRowFilter swissprotRowFilter = new SwissprotRowFilter();

    FileInputStream is;
    FileOutputStream os;

    try {
      Properties properties = propHandler.readPropertiesFile(args[0]);

      is = new FileInputStream(
          properties.getProperty("inputDatFile"));
      File targetFile = new File(properties.getProperty("outputDatFile")); 
      targetFile.mkdirs();
{'fraction_non_alphanumeric': 0.09429153924566769, 'fraction_numerical': 0.0020387359836901123, 'mean_word_length': 4.291105121293801, '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': '1076604', 'n_tokens_mistral': 523, 'n_tokens_neox': 512, 'n_words': 129}