add ability to parse an existing directory