Andrei checked readf in a few days ago:

http://www.dsource.org/projects/phobos/changeset/1721

So, it should be in the next release (end of July/beginning of August?)
Would readf help you?

For files, there is also std.file.slurp if you know the way your file is formatted:

http://digitalmars.com/d/2.0/phobos/std_file.html#slurp

Before you ask, the name comes from Perl :-)



Philippe