__dirname - was added in "paths", fs instead of path for existsPath function call