@SuppressWarnings("StringConcatenationMissingWhitespace")
	private void writeObjectToStream(Object obj, Types t, String name, DataOutputStream os) throws IOException {

		//Write Name
		os.writeUTF(name);
		//Write Type
		os.writeInt(t.ordinal());
		//Write Value
		switch(t) {
			case OBJECT_ARRAY:
			case ISAVEABLE: {
				ISaveAble is = (ISaveAble) obj;
				FileWriter fw = new FileWriter();
				is.writeToFileWriter(fw);
				fw.writeToStream(os);
				break;
			}
			default: {
				os.writeUTF(String.valueOf(obj));
				break;
			}
		}
	}