Check URI type of path param to allow non-local files