File generator stuff for some retrievers.