Thesearethebasicsofhowtoreadafile,writeafile.Andwritingthroughbuffer.