wouldn't it be better to have some object encapsulating host path, container path and RW/RO (Enum could be used here) rather than having a String here and parse it? IMHO there should be a validation as well