public BackupChunk(byte[] fileID, int chunkNo, byte[] data, String filename, int size, int replicationDegree, int curReplicationDegree, ArrayList<InetAddress> stored) {
		this.fileID = fileID;
		this.chunkNo = chunkNo;
		this.data = data;
		this.filename = filename;
		this.size = size;
		this.curReplicationDegree = 0;
		this.wantedReplicationDegree = replicationDegree;
		if(stored != null) 
			this.stored = stored;
		else
			this.stored = new ArrayList<InetAddress>();
	}