Deprecate root file in 2.99

Follow up to #548.