public static ArrayList <WordsPair> load(String newfile){
        ArrayList<WordsPair> temp = new ArrayList();
        ArrayList<String> tempLoad = new ArrayList();
        
        try {
            FileReader fileReader = new FileReader(newfile);// a BufferedReader needs a FileReader
            BufferedReader br = new BufferedReader(fileReader);
            
            String line;
            while((line = br.readLine())!= null){
               tempLoad.add(line);
            }
            
        } catch (FileNotFoundException ex) {
            ex.printStackTrace();
        } catch (IOException ex) {
            ex.printStackTrace();
        }
        
        for (String stringWord : tempLoad) {
            String[] words = stringWord.split(",");
            WordsPair tempPerson = new WordsPair( words[0], words[1]);
            temp.add(tempPerson);
            
        }
        
        
        
        return temp;
        
    }