Actually it's Monika who deletes everything when Sayori goes crazy, because she knows no happiness can be found in the Literature club. Remember the letter you get from her after that?