fixed path existence check.  Should do more here to ensure data is valid, but this can wait.