Work around to ignore soft links in monitoring diretory