Not Able To Add Errors To File