Expand directory paths when monitoring a directory