public Torrent(File metadata, ClientInfo client) {
		this.client = client;

		try {
			decodeMetadata(new BufferedInputStream(new FileInputStream(metadata)));
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}

		queryTracker();
		System.out.println("torrent created");
	}