public static void main(String[] args) throws InterruptedException, IOException, PropertyException, JAXBException {

		String path = "F:\\TargetFolder";// System.getProperty("user.dir");
		boolean watchSubtree = false;
		//injector = GuiceInjector.getInjector();
		
		FileOperationMask fileOperationMask = injector.getInstance(FileOperationMask.class);
		
		Watchers watchers = injector.getInstance(Watchers.class);
		watchers.addWatcher(path, fileOperationMask.getFileCreatedMask(),watchSubtree);
		System.out.println(watchers.getRegisteredWatchers().size());
		while (true) {
			Thread.sleep(100000);
		}
		

		//marshal();
	}