Pull out BER to a separate file