A computer file is the computer equivalent of card, paper or microfiche files in the traditional office environment, and provides a way to organise the resources used to store information permanently inside a computer. Each computer program or document is stored in a separate file, designated by its own filename.