plotSave function

Save a plot to a file with a generated name