Allow blocks to be passed to file-based ingredients with the file as context.