Directory monitor for Erlang