Populating table cell on radio button click?

Hi all. I have a table with 2 cells. The left cell has a group of radio buttons and the right cell loads an html file based off which radio button is clicked. So lets say one of the radio buttons is labeled “bread”, then when clicked, “bread.html” is loaded into the right table cell. Does anyone have any suggestions how to best go about building this? I was thinking about writing a JS function and calling it when a radio button is clicked where I would set the right cell’s innerHTML based off of which radio button is clicked, but it would be too big. Any other ideas? Thanks!