public void addChunk() {
		String chunkName = null;
		List<DataNodeEntry> locations = null;
		try {
			chunkName = this.nameNodeStub.nameChunk();
			if (Hdfs.Core.DEBUG) {
				System.out.println("DEBUG HDFSFile.addChunk(): chunk name:" + chunkName);
			}
				
			locations = this.nameNodeStub.select(this.replicaFactor);
			
			int i = 0;
			if (Hdfs.Core.DEBUG) {
				System.out.format("DEBUG HDFSFile.addChunk(): Locations\n");
				for (DataNodeEntry entry: locations) {
					System.out.format("\tIP=%s\t%s\n", entry.dataNodeRegistryIP, entry.dataNodeRegistryPort);
				}
			}
			
			
		} catch (RemoteException e) {
			if (Hdfs.Core.DEBUG) { e.printStackTrace(); }
		}
		HDFSChunk newChunk = new HDFSChunk(chunkName, locations);
		this.chunkList.add(newChunk);
	}