protected WatchService preRun() throws Exception {
		Path dir = Paths.get(this.path);
		File folder = new File(this.path);
	    for (final File entry : folder.listFiles()) {
	    	if(!entry.isDirectory()) {
	    		detectedFile(DetectionType.ORIGINAL, entry);
	    	}
	    }	
	    
		WatchService watcher = FileSystems.getDefault().newWatchService();
		
		dir.register(watcher,
				StandardWatchEventKinds.ENTRY_CREATE,
				StandardWatchEventKinds.ENTRY_DELETE);
		
		return watcher;
	}