multiple changes

changed from reading file in memory to reading from disk. added email
function.  added report function at top of file.