public void startConsole() throws IOException{
        System.out.println("This is DFS client, type help for more information");
        
        String cmdLine=null;
        while(running){
            System.out.print(">>");
            try{
                cmdLine = console.readLine();
                
            }catch(IOException e){
                System.out.println("IO error while reading the command,console will be closed");
            }            
            
            String[] inputLine = cmdLine.split(" ");
           
            switch(inputLine[0]){
            	case "upload":
            		handleUp(inputLine);
            		break;
            	case "rm":
            		break;
            	case "download":
            		break;
            	case "cat":
            		break;
            	case "quit":
            		break;
                default:
                    System.out.println(inputLine[0]+"is not a valid command");
            }
        }
	}