`file` should be local too.