On Monday, 20 March 2023 at 17:42:17 UTC, Paul wrote: > Do we have some such function in our std library? Try static import std.file; string s = std.file.readText("filename.txt"); http://phobos.dpldocs.info/std.file.readText.html