use URI instead of plain path string