@Override
	public void run() {
		for (int i = 0; i < 5; i++) {
			String writeString = "WriterClient:"+Integer.toString(myID)+" "+Integer.toString(i);
			byte[] buffer = writeString.getBytes();
			DFileID dfid = myDFS.createDFile();
			System.out.println("current file ID is: "+dfid.getInt());
			try {
				myDFS.write(dfid, buffer, 0, buffer.length);
			} catch (IllegalArgumentException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			} catch (FileNotFoundException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			
			byte[] readToBuffer = new byte[buffer.length];
			try {
				myDFS.read(dfid, readToBuffer, 0, buffer.length);
			} catch (IllegalArgumentException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			} catch (FileNotFoundException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			if(!new String(readToBuffer).equals(new String(buffer))){
				System.err.println("Write failed for index:" + i);
				break;
			}
		}
		
		notifyTester();
		
		//somehow signal the tester
	}