void readLines()
    {
        try {
            
            String currentLine;             
            bufferReader = new BufferedReader(new FileReader(System.getProperty("user.dir")+FILE_PATH));
            
            while ((currentLine = bufferReader.readLine()) != null)
            {
                Thread.sleep(2);
                String []tokens = currentLine.split(" ");
                if(tokens[0].compareTo("put") == 0)
                {
                    System.out.println("put");
                    SendPut(Integer.parseInt(tokens[1]),  tokens[2], hostLB, portLB);
                }
                else if(tokens[0].compareTo("get") == 0)
                {
                    System.out.println("get");
                    SendGet(Integer.parseInt(tokens[1]), hostLB, portLB);
                } 
                
                synchronized(countLock) {
                    try {
                        countLock.wait();
                    } catch (InterruptedException e) {
                    }
                }
                System.out.println("storageNodePort= " + storageNodePort);
                if(tokens[0].compareTo("put") == 0)
                    SendPut(Integer.parseInt(tokens[1]),  tokens[2], "localhost", storageNodePort);
                else if(tokens[0].compareTo("get") == 0){
                    SendGet(Integer.parseInt(tokens[1]), "localhost", storageNodePort);
                    synchronized(countLock) {
                        try {
                            countLock.wait();
                        } catch (InterruptedException e) {
                        }
                    }
                    System.out.println("GET result: " + getResult);
                }
            }
            
        } catch (InterruptedException ex) {
            Logger.getLogger(Client.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IOException ex) {
            Logger.getLogger(Client.class.getName()).log(Level.SEVERE, null, ex);
        } 
        
    }