On-demand ref seq file reading, untested/compiled