public static void clientMenu() {
		System.out.println("\nPlease select following options");
		System.out.println("1. Find");
		System.out.println("2. Download");
		System.out.println("3. UpdateList");
		System.out.println("4. GetLoad");
		System.out.println("5. Exit");
		System.out.print("Command: ");
		Scanner option = new Scanner(System.in);
		String selection = option.nextLine().trim();
		if (!testInput(selection, "number") || Integer.parseInt(selection) > 5
				|| Integer.parseInt(selection) < 1) {
			System.out
					.println("\n Invalid input!Enter a number bewteen 1 to 5");
			return;
		}

		switch (Integer.parseInt(selection)) {
		case 1: {
			String filename = getInput();
			client.find(filename);
		}
			break;
		case 2:{
			System.out.println("Do you want to download the file you just find? Yes/No");
			Scanner input = new Scanner(System.in);
			String in = input.nextLine().trim().toLowerCase();
			if(in.equals("yes"))
				client.download();
			else{
				String filename = getInput();
				client.find(filename);
				client.download();
			}
		}
			break;
		case 3:
			client.reportToServer();
			break;
		case 4:
			client.getLoad();
			break;
		case 5:
			System.exit(0);
			break;
		default:
			break;
		}

	}