small changes to get plotting examples working
plotting/file examples changed to new style