Properly resolve OAK r file.