Automatically inffered all path of the directory