Perhaps changing this to generate legends file? Using the word labels might a little confusing here because we already have a "labels" tab.