@Override
    public boolean nextKeyValue() throws IOException, InterruptedException {
        if(br == null) {
            FileInputStream fstream = new FileInputStream(locations[0]);
            DataInputStream in = new DataInputStream(fstream);
            br = new BufferedReader(new InputStreamReader(in));
        }

        pos++;
        String line = read();
        while(line != "")
        {
            currentLine += line;
        }

        return currentLine == "";
    }