Until now we could get the absolute path of a file to open later as readStream with this code snippet:
var base = path.resolve(\'.\'); var file = base + \'/d
you could get project basic root path by
process.env.PWD