public Object parseValue(String argument) throws IllegalArgumentException {

		if (argument.equalsIgnoreCase("*stdout") || argument.equalsIgnoreCase("*stderr") || argument.equalsIgnoreCase("*blackhole")) {
			if (allowConsole) {
				if (argument.equalsIgnoreCase("*stdout"))
					return new FileOutputStream(FileDescriptor.out);

				if (argument.equalsIgnoreCase("*stderr"))
					return new FileOutputStream(FileDescriptor.out);

				if (argument.equalsIgnoreCase("*blackhole"))
					return BlackHoleStream.NEXT_BLACKHOLE;
			} else {
				throw new IllegalArgumentException("Thie given file cannot be a console object.");
			}
		} else {
			try {
				return new FileOutputStream(argument);
			} catch (IOException e) {
				throw new IllegalArgumentException(e.toString());
			}
		}

		return null;  // Should not be happening.

	}