openFile package:pipes-safe

Acquire a Handle within MonadSafe The ReleaseKey can be used to close the handle with release; otherwise the handle will be closed automatically at the conclusion of the MonadSafe block. The file is opened in text mode. See also: openBinaryFile