Reading data from a linked block file

What would be the best way to store arbitrary data(normally with something like UserText) so that I can read it from a file after it’s been inserted/updated as a block? I can attach it to some geometry I guess, but it would make more sense for it to be at the document level.