[DEPRECATION] Add a deprecation note about Yaml::parse() file support #12701

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12701
| License       | MIT
| Doc PR        | 
@h4cc I think @nicolas-grekas means something like "[...] pass file names to Yaml::parse() [...]".