should really check better for failures, now it just assumes it is getting something when grepping a file. Fix that one day...