code: function resolveFile(cwd, dir, filename) {
  	dir = pathJoin(cwd, dir);
  
  	var filepath = pathJoin(dir, filename);
  	var stat = fsStatSync(filepath);
  
  	return stat && {
  		cwd: cwd,
  		dir: dir,
  		path: filepath
  	};
  }
docs: Does X/file.ext exist? Else, throw