added logic to remove the appgen file "/tmp/BLANK" as it's presence caused subsequent runs to this program to fail, because the record with a key of 0 was not removed.