add sendfile function to the transport