public void shutDown() {

		// Failure! Handle Files placed on this machine
		try
		{
			//delete any temporary file name blocked by this data node
			for(String proxy: fileProxyList)
				NameNode.fs.RemoveFileProxy(proxy);
			//TODO put all blocks of this node into deletequeue
			
			//for all fileblocks on that client
			for(FileBlock fb : tempFileBlocks){
				for(String deleteLocation:fb.getNodeLocations()){
					if(!id.equals(deleteLocation))
						NameNode.instance.deleteThread.push(fb.getBlockFileName(), deleteLocation);
				}
			}//end of push to delete thread	
			
			for(Task t:taskQueue)
				NameNode.instance.taskQueue.addJob(t);
			
		} catch(FileSystemException e){
			
			//TODO delete
			Logger.log(e.getMessage());
			e.printStackTrace();
		}
	}