P2P resource discovery and file sharing setup code(committed code does not include transfer of file)