a file is used for storing records