I'm confused: path appears to be NULL - how can this not crash ?