Changed how file paths are validated and parsed.

* May break existing content

Signed-off-by: Lanny McNie <lanny@gskinner.com>