working on exporting a file of the failures