added option to plot content of theta file