public String readConfig(String confName, Integer stringNum){
        File conf=new File(confName);
        String buff;
        try {
            BufferedReader bf=new BufferedReader(new FileReader(conf));
            try {
                for (int i = 1; i <= stringNum; i++) {
                    buff=bf.readLine();
                    if(i==stringNum){
                        Printer.print("Read string "+stringNum+" from config: "+confName);
                        return buff;}
                }
            } catch (IOException ex) {
                Printer.print("Error read config "+ex);
            }
        } catch (FileNotFoundException ex) {
            Printer.print("Error read config "+ex);
        }
        return null;
    }