use uri for files