read from the primary file while corresponding secondary is being written