Scope File to ::File, even inside not_if/only_if, for consistency.