[Haskell-beginners] how more efficient read/write a file ?