Add support for file-level TRE metadata