added in Mooman's code and graph's that it produced.  Slightly altered for windows files