Updating the error checking... creating methods for a quarantine section and to log the error files