public static void weekPrediction(String inputFile) throws FileNotFoundException, IOException{
        
        String line, season = null, jornada = null;
        ArrayList<String> matchs1 = new ArrayList<>();
        ArrayList<String> matchs2 = new ArrayList<>();
        Boolean primera = false, segunda = false;
        
        FileReader fr = new FileReader(new File(inputFile));
        BufferedReader br = new BufferedReader(fr);
        
        while ((line = br.readLine()) != null ){
            if (line.contains("Primera")){
                primera = true;
                line = br.readLine();
                season = line.split(" ")[line.split(" ").length-1];
                line = br.readLine();
                
            }
            if(line.contains("Segunda")){
                primera = false;
                segunda = true;
                line = br.readLine();
                season = line.split(" ")[line.split(" ").length-1];
                line = br.readLine();
            }
            
            if(primera){
                matchs1.add(line);
            }
            
            if(segunda){
                matchs2.add(line);
            }
                
        }
        br.close();
        try {
            weekArffFile(matchs1,matchs2, season, jornada);
        } catch (SAXException ex) {
            ex.printStackTrace();
        } catch (SQLException ex) {
            ex.printStackTrace();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        
        
    }