watch a file directory in example