Threaded for sending file and folders peer-to-peer