private List<String> getFirstThreeLines(String file){
        List<String> lines = new ArrayList<>();
        try(BufferedReader br = new BufferedReader(new FileReader(file))){
            int i = 0;
            String line;           
            while((line = br.readLine()) != null){
                line = line.trim();
                if(line.isEmpty()) continue;
                lines.add(line);
                i++;
                if(i > 2){
                    break;
                }
            }        
        } catch (FileNotFoundException ex) {
            
        } catch (IOException ex) {
            
        }
        return lines;
    }