Created sandboxed file API, in the style of Scanner and PrintWriter, for reading and writing.