new_file_ctx
if ((ctx = new_file_ctx(IS_FILE, uri, provctx)) == NULL) {
if ((ctx = new_file_ctx(IS_DIR, uri, provctx)) == NULL) {