remove an unused function
rename example to directory_watcher