[COOK-3281] Add support for file:/// urls