Files & Streams. Files Introduction Files are used for long-term retention of large amounts of data, even after the program that created the data terminates.