Simpler implementation of BufferedFile using io-streams.