project resource can either be a file or directory, changed path property to parent