error checking for file senders, fixes