readFile package:bytestring

Read an entire file strictly into a ByteString.
Read an entire file lazily into a ByteString. The Handle will be held open until EOF is encountered. Note that this function's implementation relies on hGetContents. The reader is advised to read its documentation.