[Core] Deprecate the 1:1 File->Project assumption

(As advised by Mike Krueger to complement the approach to
the fix for BXC#17426)