splitting send resources by file and email