public String readFile(String nameFile)
    {
        String chaine = "";
        
        try {
            InputStream ips = new FileInputStream(nameFile);
            InputStreamReader ipsr = new InputStreamReader(ips);
            BufferedReader br = new BufferedReader(ipsr);
            String ligne;
            while ((ligne = br.readLine()) != null) {
                chaine += ligne + "\n";
            }
            br.close();
        }
        catch (Exception e) {
            System.out.println(e.toString());
        }
        
        return chaine;
    }