monitor directory for file changes