<commit_before>package be.ephec.nsjc.jws.internal;

import java.io.File;
import java.nio.file.Files;

public class FileUtils {

    public static String baseDir = "www" + File.separator;

    /** For a filename given give the content
     * @param uri the relative path from the base dir
     * @return le content of the file
     */
    public static byte[] getFile(String uri) {
        return null;
    }

    /** Save on the disk a file at the uri given with the content
     * @param uri the relative path from the base dir
     * @param content the content of the file
     */
    public static void postFile(String uri, byte[] content) {

    }

}<commit_msg>add fileExists<commit_after>package be.ephec.nsjc.jws.internal;

import java.io.File;
import java.nio.file.Files;

public class FileUtils {

    public static String baseDir = "www" + File.separator;

    /** For a filename given give the content
     * @param uri the relative path from the base dir
     * @return le content of the file
     */
    public static byte[] getFile(String uri) {
        return null;
    }

    /** Save on the disk a file at the uri given with the content
     * @param uri the relative path from the base dir
     * @param content the content of the file
     */
    public static void postFile(String uri, byte[] content) {

    }

    /** Check if the given uri is an existing file
     * @param uri the relative path from the base dir
     * @return wheter the file exists or not
     */
    public static boolean fileExists(String uri) {
        return true;
    }

}
{'fraction_non_alphanumeric': 0.07898089171974522, 'fraction_numerical': 0.0, 'mean_word_length': 2.5542986425339365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2393066', 'n_tokens_mistral': 450, 'n_tokens_neox': 435, 'n_words': 193}