changed absolute filepath to uri