Do not write to file every single bug. Only output at end of run