ostname is used.

        :param str filename: the filename to read

        :raises: ``IOError`` -- if the filename could not be read
        N)