Use java.nio.channels.Selector to watch files