lib/utils.js
function getFileSync(filename, basePath = null) {
    const cPath = Path.resolve(Path.join(basePath || process.cwd(), filename));
    return fs.pathExistsSync(cPath) ? cPath : null;
}
function getFileSync(filename, basePath = null) {
    const cPath = Path.resolve(Path.join(basePath || process.cwd(), filename));
    return fs.pathExistsSync(cPath) ? cPath : null;
}
--------------------------- Helpers --------------------------- used for utils._findDocmaConfigFileSync()