Removed dependency on app.get('rootDir')