Add labels based on folder structure