added keyname to output file; reorganized plot files