Bad file name error also shows in log.

In addition to sending out the email.