Get relative path from root path
string relativePathFrom(string? rootPath) => path.relative(this.path, from: rootPath);