when you click 'Generate Code' the selected template file is read and displayed