public void handleRequest() {

		Thread pollQueue = new Thread(new Runnable() {
			public void run() {
				while (true) {
					FolderWatcherQueue s = changes.poll();
					// System.out.println("The size of the " + changes.size());
					if (s != null) {
						String eventType = s.getEventType();
						if (eventType.equals("ENTRY_CREATE")) {
							handleCreateFile(s);
						} else if (eventType.equals("ENTRY_DELETE")) {
							handleDeleteFile(s);
						} else if (eventType.equals("ENTRY_MODIFY")) {
							handleModifyFile(s);
						} else {
							continue;
						}
					}
				}
			}
		});
		pollQueue.start();
	}