public static void receiveAndBounceMessage(String incomingMessage, Socket socket)
	{
		incomingMessage = incomingMessage.substring(6);
		ServerSocket temp = null;
		int id = Integer.parseInt(incomingMessage.split("\\\\")[0]);
		String fileName = incomingMessage.split("\\\\")[1];
		writeToAll("/file " + id + "\\" + fileName);
		byte[] incomingBytes = new byte[1];
		try
		{
			temp = new ServerSocket(Integer.parseInt(Resource.PORT)+10);
			socket = temp.accept();
			inStream = socket.getInputStream();
		}
		catch(Exception e) { e.printStackTrace(); }
		
		baos = new ByteArrayOutputStream();
		try
		{
			numBytes = inStream.read(incomingBytes, 0, incomingBytes.length);
			do
			{
				baos.write(incomingBytes);
				numBytes = inStream.read(incomingBytes);
			} while (numBytes != -1);
			inStream.close();
			socket.close();
			temp.close();
		}
		catch(IOException ex) { ex.printStackTrace(); }
		
		for(int i = 0; i < userList.size(); i++)
		{
			try 
			{
				socket = new Socket(clientThreads.get(i).IP.substring(1),Integer.parseInt(Resource.PORT) + clientThreads.get(i).ID);
				bOut = new BufferedOutputStream(socket.getOutputStream());
			} 
			catch (IOException e1) { e1.printStackTrace(); }
			if (bOut != null)
			{
				byte[] outArray = baos.toByteArray();
	            try 
	            {
	                bOut.write(outArray, 0, outArray.length);
	                bOut.flush();
	                bOut.close();
	                socket.close();
	            } catch (IOException ex) { ex.printStackTrace(); }
			}
		}
	}