This is a backport of [[https://github.com/bitcoin/bitcoin/pull/20152 | core#20152]] and [[https://github.com/bitcoin/bitcoin/pull/19077 | core#19077]] [24/26]
https://github.com/bitcoin/bitcoin/pull/19077/commits/6c6639ac9f6e1677da066cf809f9e3fa4d2e7c32 (only the files.md part)
https://github.com/bitcoin/bitcoin/pull/20152/commits/defe48a51f4315f8cc607875a099981593c8cc39
Depends on D10568