mailsender function; newsgroups file reader and writer