checkWatchedDirs() after unlink; coding style