Learn in the textbookBasic Units of Data Structure
DefinitionA file (ファイル) is a body of data in which records of the same format are collected and saved as a single unit.
ExplanationA file is saved under a name, and a program reads and writes the records inside by specifying that name. Before databases became common, each business program managed its data in its own dedicated files, so the same data easily ended up duplicated across several files.
AnalogyIt is like a binder of forms that all share the same layout. Each sheet inside is one record.
Memory hookAs an English verb, file means to put papers away in order, and as a noun it means the papers kept that way. Picture a bound stack of sheets.