add file and mail utility