Reducing complexity / memory usage of data_file test

A step towards issue #141