changed name to watchdirectory