public void run() {
				ClientInfo ci = new ClientInfo();
				JFileChooser jfc = new JFileChooser();
				jfc.showOpenDialog(null);
				Torrent t = new Torrent(jfc.getSelectedFile(), ci);
				Torrent.initializeFile(t.fileName(), ((Long) t.fileLength()).intValue());

				Executor tPool = Executors.newFixedThreadPool(10);

				System.out.println("Peers:");
				System.out.println(t.getPeers());
				System.out.println("Pieces:");
				System.out.println(t.getPieces());

				while (!t.getPieces().isEmpty()) {
					while (!t.getPeers().isEmpty()) {
						tPool.execute(new DownloadThread(t.getPieces().poll(), t, t.getPeers().poll()));
					}
				}
			}