This needs more clearer API - its not just paths, right ?