reworked WatchDir

http://docs.oracle.com/javase/tutorial/displayCode.html?code=http://docs
.oracle.com/javase/tutorial/essential/io/examples/WatchDir.java