made function that erase old files so it wont send it in the mail.