filesystem write, and read new examples from oreilly