File

File is a logical collection of information stored on secondary storage such as hard disk. Its used to contain data and program. A file has various attributes like name, types, location, size, protection, time and data of execution etc.