update path for file://