public void start() throws Exception {
		printCommands();
        System.out.print("740ftp>");
        String input = stdinBR.readLine();
        String[] command = input.split(" ");
         
        if(command[0].equals("get"))  {
        	try{
        		String[] method = command[1].split("\\/");
        		File saveDir = new File("../files/");
        		String fileName = "../files/"+method[method.length-1];
        		if(!saveDir.exists()){
        			saveDir.mkdir();
        		}
	        	File f=new File(fileName);
	        	if(f.exists()) {
	        		String Option = null;
	                System.out.println("File Already Exists. Want to OverWrite (Y/N) ?");
	                Option=stdinBR.readLine();            
	                if(Option.equals("N") || Option.equals("n")) {
	                	return; 
	                } else if(!Option.equals("Y") && !(Option.equals("y"))) {
	                	 System.out.println("invalid choice");	 
	                }
	            }
	        	ttps.send(input, (short) input.length());
	            getFile(fileName);
        	} catch(ArrayIndexOutOfBoundsException e){
        		System.out.println("Error: a file name is required");
        	} finally {
        		ttps.clientClose();
        	}
        } else {
        	System.out.println("\n  !!! invalid commands \n  ");
        	printCommands();
        }
 	}