Switch some file usages to paths.