if path is nil then is that the root folder? or are we expecting always to have a path?