multicast write to file