{fullPath .match(/^.*\/|/) ?.values() .next().value} {fullPath.split("/").slice(-1)}