I'm not really sure if that will handle passing variables (like fileType) in as well - might be easier to populate with textContent via JS when the menu opens (assuming we switch to just reusing the same menu every time)