Simple file transfer protocol in peer-to-peer programming