Change interactions with the data file to a set of variables so that we
can better test sending blocks for a datafile.