Simplified common functionality between host and peer. File reference is now being sent successfully across the wire.