we will discuss about files which are very important for large-scale data processing. Data are stored in data files and programs are stored in program files. A file is simply a machine decipherable storage media where programs and data are stored for machine usage. In C++ we say data flows as streams into and out of programs. There are different kinds of streams of data flow for input and output