Fixed use of old 'nc' file handle instead of 'file' file name in bi_plot_trace.