added a file recording the bad data