improvements to plot_files to make things look better and add titles