filefactory: catch invalid email exception