Added network_send_file and network_send functions