public void run()
	{
		
		/*try
		{
			updateProgressBarLock.lock();
			
			downloadInfo.filesRecieving++;
			downloadBar.setVisible(true);
		}
		finally
		{
			updateProgressBarLock.unlock();
		}*/
		
		try
		{
			connectToServer();
			getStreams();
			recieveFile();
		}
		catch(IOException exception)
		{
			userInterface.displayErrorMessage("\nError in I/O during file trasfer\n");
		}
		catch(ClassNotFoundException exception)
		{
			userInterface.displayErrorMessage("\nInappropriate type of object recieved\n");
		}
		finally
		{
			closeConnection();
			
			/*
			try
			{
				updateProgressBarLock.lock();
				
				if(--downloadInfo.filesRecieving==0)
				{
					downloadInfo.filesSize = downloadInfo.bytesRecieved = 0L;
					downloadBar.setVisible(false);
				}
			}
			finally
			{
				updateProgressBarLock.unlock();
			}
			*/
		}
	}