modified peerprocess to give host the correct file path