Refactor parse directory to deal with a vector.  Create vector to string function.