Small Java library that takes a file/input with a space delimited hierarchy and outputs it with an explicit parent.