Add support for on-disk file references.