[Haskell-beginners] how to catch the error thrown by openFile?