What is the correct way to configure a process to use a watched folder endpoint?