client is initiated when enters a url that belongs to a specific file.
and initiates the needed peerconnections.