erlang file poller